FYI I released a component few days ago which started as an example of what you can achieve with widgets and hbs:
Code is not perfect but you might learn a few things reading it.
FYI I released a component few days ago which started as an example of what you can achieve with widgets and hbs:
Code is not perfect but you might learn a few things reading it.
@joffreyjaffeux thanks for that. I had a scan of the code and notice you extended things with ‘attach’ which is great.
Can you confirm it is not possible to use existing Helpers defined elsewhere in the app within a widget template?
Hi,
you can use some of them, and it’s actually not that hard to add more, PR on this would probably be gladly accepted.
Starting point and list of available helpers are the list of cases in this switch:
Very useful! Thanks.
Thanks for the heads up – I’ll have a good look through!