Runtime Error

TextInvalidElement

The data-text attribute was placed on an invalid element. It may only be placed on an HTML element.

Example:

1<div data-text="$foo"></div>

See the docs for the data-text attribute.