Open yaelavgil opened 8 years ago
where is the example?
rt-props
has a different syntax (and purpose) than rt-scope
. It's used to pass an object into props
, e.g.:
<mycomponent rt-props="{a: '42'}"></mycomponent>
which is the same as writing
<mycomponent a="42"></mycomponent>
When writing rt-props instead of rt-scope the error is 'Line 3: Unexpected identifier'. Example rt file: