helpers
Helper functions used with the component’s view.
Object<String,helper(arg..., options)>
An object of can-stache helper names and methods. The helpers are only
available within the component’s view and source html. Helpers
are always called back with this
as the ViewModel instance.
Use
can-component’s helper object lets you provide helper functions that are localized to
the component’s view. The following example
uses an isSelected
helper to render content for selected items. Click
one of the following libraries to toggle them within the selected
array.