…Just like in Handlebars, Dust has the concept of something called Helpers.…And you know, you might be wondering if it's possible to define…your own helpers in Dust the same way that you can in Handlebars.…And, the answer is conceptually yes, but in Dust,…it's a little bit more of an advanced topic.…And the breadth of default Helpers that…are already available in Dust are pretty good.…So, in this particular up and running course,…I'm not going to cover building your own Dust…Helpers, but, the documentation is available on their…site if you want to look more into that.…
So, Dust Helpers are split into two basic categories.…There's logic Helpers.…And then there's other Helpers.…In the logic Helper section, you have the Select, Math, and If Helpers.…The Select Helper selects a value from the data set…that can then be tested for some kind of condition.…And there's equality, and greater than, and less than, and so on.…So, it's a way of extracting a piece of…data that you want to do further testing on.…In order to determine what might be put into the resulting populated template.…
- What is templating?
- Defining templates in jQuery Template
- Using simple Mustache templates with sections and conditions
- Adding conditionals and loops to Handlebars templates
- Working with Dust templates