lit-element#state TypeScript Examples

The following examples show how to use lit-element#state. 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: buttons.ts    From medblocks-ui with Apache License 2.0 5 votes vote down vote up
@state() _options: MbOption[] = [];
Example #2
Source File: search.ts    From medblocks-ui with Apache License 2.0 5 votes vote down vote up
@state() _moreHits: number = 0;
Example #3
Source File: search.ts    From medblocks-ui with Apache License 2.0 5 votes vote down vote up
@state() _debouncing: boolean = false;
Example #4
Source File: search.ts    From medblocks-ui with Apache License 2.0 5 votes vote down vote up
@state() _debounceTimeout: number;
Example #5
Source File: select.ts    From medblocks-ui with Apache License 2.0 5 votes vote down vote up
@state() _options: MbOption[] = [];
Example #6
Source File: duration.ts    From medblocks-ui with Apache License 2.0 5 votes vote down vote up
@state() _state : {[period: string]: string | undefined} = {}
Example #7
Source File: form.ts    From medblocks-ui with Apache License 2.0 5 votes vote down vote up
/** The child elements are loaded  */
  @state() mbElements: { [path: string]: EhrElement } = {};
Example #8
Source File: form.ts    From medblocks-ui with Apache License 2.0 5 votes vote down vote up
@state() observer: MutationObserver
Example #9
Source File: quantity.ts    From medblocks-ui with Apache License 2.0 5 votes vote down vote up
@state()
  units: MbUnit[] = [];
Example #10
Source File: input-multiple.ts    From medblocks-ui with Apache License 2.0 5 votes vote down vote up
@state() value: string = '';
Example #11
Source File: text-select.ts    From medblocks-ui with Apache License 2.0 5 votes vote down vote up
@state() _options: MbOption[] = [];