I am having a problem sometimes understanding angular syntax.
This time it is with directives. I know that Angular takes the name of our wanted directives and use it in a camelcase way, example :
In the HTML- "" in our directive will be shown as " .directive('noUiSlider', [function()....."
does it happens to every variable in the directive ? I mean :
<no-ui-slider range-min="500" range-max="5000"> </no-ui-slider>
range-min="500" ---> will be "rangeMin" ?
range-max="5000"> ---> will be "rangeMax" ?
It will really help if someone can make it a bit more clear.
Thank's
Yes it will. It is because HTML is not case sensative
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.