Skip to content

Add documentation for data helper

Compare
Choose a tag to compare
@Amechi101 Amechi101 released this 16 May 02:46
· 75 commits to master since this release

Resolves issue #574

Added a deprecation notice for the {{ data helper }}

@function can-stache.helpers.data {{data name}}
@parent can-stache/deprecated

@deprecated {4.3.0} Use [can-stache.helpers.domData] instead.

@signature `{{data name[ key]}}`

Adds the current [can.stache.context context] to the
element's [can.data].