lit-element#property TypeScript Examples

The following examples show how to use lit-element#property. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: opc-back-to-top.ts    From op-components with MIT License 5 votes vote down vote up
@property({ type: Number, attribute: 'reveal-at' }) revealAt = 0;
Example #2
Source File: editor.ts    From linak-desk-card with MIT License 5 votes vote down vote up
@property({ attribute: false }) public hass?: HomeAssistant;
Example #3
Source File: admin.ts    From litelement-website with MIT License 5 votes vote down vote up
@property({ type: String }) username!: string;
Example #4
Source File: editor.ts    From select-list-card with MIT License 5 votes vote down vote up
@property() public hass?: HomeAssistant;
Example #5
Source File: EhrElement.ts    From medblocks-ui with Apache License 2.0 5 votes vote down vote up
/**Path of the data element. Use the VSCode extension to get the appropriate paths */
  @property({ type: String, reflect: true }) path: string;