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
{{ message }}
This repository was archived by the owner on Dec 28, 2024. It is now read-only.
I am having an issue using the selected-attribute option with pages that extend LitElement using Polymer 3. Here I have created a test-page custom element that should have observers fire when active property is set, however it does not work.
import{html,LitElement}from'@polymer/lit-element/lit-element.js';exportclassTestPageextendsLitElement{staticgetproperties(){return{active: String}}_render(){// according to LitElement, this render method gets called everytime `active` changesconsole.log(this.active)// but prints undefined :(returnhtml`<div>Test page</div>`;}}customElements.define('test-page',TestPage);