-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: renderItem: render templates with lit-html
This adds support to pass data-nav a `renderItem` function, which should return a lit-html TemplateResult when invoked. If set, this will use lit-html rendering instead of the current Polymer template handling. The resize-forwarding behavior of iron-resize has been disabled when using renderItem. If resizing issues occur when migrating to renderItem, switch to ResizeObserver in the data-nav view.
- Loading branch information
Showing
2 changed files
with
45 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters