You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`parse()`| public | Entry point: parses declarative HTML into `{ strings, values }`. |
353
352
|`createTemplate()`| public | Creates a `ViewTemplate` from resolved strings and values. |
354
-
|`hasDeprecatedEventSyntax`| public | Getter indicating whether the last parse encountered deprecated `e` event syntax. |
355
353
|`resolveStringsAndValues()`| private | Creates `strings`/`values` arrays and delegates to `resolveInnerHTML()`. |
356
354
|`resolveInnerHTML()`| private | Recursive HTML parser that dispatches to data binding or template directive handlers. |
357
355
|`resolveDataBinding()`| private | Thin dispatcher that routes to `resolveContentBinding()`, `resolveAttributeBinding()`, or `resolveAttributeDirectiveBinding()`. |
Copy file name to clipboardExpand all lines: packages/fast-element/DECLARATIVE_HTML.md
+2-5Lines changed: 2 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -358,15 +358,12 @@ You can pass the DOM event object, the execution context, or both as arguments.
358
358
<button@click="{handleClick($e, $c)}"></button>
359
359
```
360
360
361
-
**Arbitrary binding expressions** — any token that is not `$e`, `$c`, or `e` is resolved as a binding path on the data source:
361
+
**Arbitrary binding expressions** — any token that is not `$e`or `$c` is resolved as a binding path on the data source:
362
362
```html
363
363
<button@click="{handleClick(user.id)}"></button>
364
364
```
365
365
366
-
> **Deprecated:** The bare `e` token still works but will emit a console warning once per component. The warning includes the component name to help locate usage. Migrate to `$e`.
0 commit comments