-
-
Save kevinpschaaf/b52db0f4fc89e90dc791be49a010b11c to your computer and use it in GitHub Desktop.
MWC custom-elements.json @ lit@8d7b0e9 and @material/web@0327283b
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
{ | |
"schemaVersion": "1.0.0", | |
"modules": [ | |
{ | |
"kind": "javascript-module", | |
"path": "actionelement/action-element.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "ActionElement", | |
"superclass": { "name": "LitElement", "package": "lit" }, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "disabled", | |
"description": "ActionController needs to know if the component is disabled, so subclasses\nmust implement a `disabled` property.", | |
"privacy": "public", | |
"type": { "text": "boolean" } | |
}, | |
{ | |
"kind": "field", | |
"name": "actionController", | |
"privacy": "protected", | |
"type": { | |
"text": "ActionController", | |
"references": [ | |
{ | |
"name": "ActionController", | |
"package": "@material/web", | |
"module": "controller/action-controller.js", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
}, | |
"default": "new ActionController(this)" | |
}, | |
{ | |
"kind": "method", | |
"name": "beginPress", | |
"description": "Hook method called when we've confirmed that the gesture is intended to be\na press. Subclasses should change the visual state of the control to\n'active' at this point, and possibly fire an event. Subclasses should\noverride this method if more needs to be done.", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "options", | |
"description": "`positionEvent` is the Event that is considered the\nbeginning of the press. Null if this was a keyboard interaction.", | |
"type": { | |
"text": "BeginPressConfig", | |
"references": [ | |
{ | |
"name": "BeginPressConfig", | |
"package": "@material/web", | |
"module": "controller/action-controller.js", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "endPress", | |
"description": "Hook method called when the control goes from a pressed to unpressed\nstate.", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "{cancelled, actionData}", | |
"description": "If `cancelled` is true, means the user canceled the action.\nSubclasses which trigger events on endPress() should check the value\nof this flag, and modify their behavior accordingly.", | |
"type": { | |
"text": "EndPressConfig", | |
"references": [ | |
{ | |
"name": "EndPressConfig", | |
"package": "@material/web", | |
"module": "controller/action-controller.js", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handlePointerDown", | |
"description": "Hook method for the ActionController.\nSubclasses should add this method as an event handler on the interactive\ntemplate element with `@pointerdown=\"${this.handlePointerDown}\"`", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handlePointerUp", | |
"description": "Hook method for the ActionController.\nSubclasses should add this method as an event handler on the interactive\ntemplate element with `@pointerup=\"${this.handlePointerUp}\"`", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handlePointerCancel", | |
"description": "Hook method for the ActionController.\nSubclasses should add this method as an event handler on the interactive\ntemplate element with `@pointercancel=\"${this.handlePointerCancel}\"`", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handlePointerLeave", | |
"description": "Hook method for the ActionController.\nSubclasses should add this method as an event handler on the interactive\ntemplate element with `@pointerleave=\"${this.handlePointerleave}\"`", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleClick", | |
"description": "Hook method for the ActionController.\nSubclasses should add this method as an event handler on the interactive\ntemplate element with `@click=\"${this.handleClick}\"`", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "MouseEvent", | |
"references": [ | |
{ | |
"name": "MouseEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 10 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleContextMenu", | |
"description": "Hook method for the ActionController.\nSubclasses should add this method as an event handler on the interactive\ntemplate element with `@contextmenu=\"${this.handleContextMenu}\"`", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "BeginPressConfig", | |
"declaration": { | |
"name": "BeginPressConfig", | |
"package": "@material/web", | |
"module": "controller/action-controller.js" | |
} | |
}, | |
{ | |
"kind": "js", | |
"name": "EndPressConfig", | |
"declaration": { | |
"name": "EndPressConfig", | |
"package": "@material/web", | |
"module": "controller/action-controller.js" | |
} | |
}, | |
{ | |
"kind": "js", | |
"name": "ActionElement", | |
"declaration": { "name": "ActionElement" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "autocomplete/autocomplete-item.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdAutocompleteItem", | |
"superclass": { | |
"name": "AutocompleteItem", | |
"package": "@material/web", | |
"module": "autocomplete/lib/autocompleteitem/autocomplete-item.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[styles]" | |
} | |
], | |
"tagName": "md-autocomplete-item", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdAutocompleteItem", | |
"declaration": { "name": "MdAutocompleteItem" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-autocomplete-item", | |
"declaration": { "name": "MdAutocompleteItem" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "autocomplete/autocomplete-list.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdAutocompleteList", | |
"superclass": { | |
"name": "AutocompleteList", | |
"package": "@material/web", | |
"module": "autocomplete/lib/autocompletelist/autocomplete-list.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[styles, autocompleteStyles]" | |
} | |
], | |
"tagName": "md-autocomplete-list", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdAutocompleteList", | |
"declaration": { "name": "MdAutocompleteList" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-autocomplete-list", | |
"declaration": { "name": "MdAutocompleteList" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "autocomplete/autocomplete-surface.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdAutocompleteSurface", | |
"superclass": { | |
"name": "AutocompleteSurface", | |
"package": "@material/web", | |
"module": "autocomplete/lib/autocompletesurface/autocomplete-surface.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[styles, autocompleteStyles]" | |
} | |
], | |
"tagName": "md-autocomplete-surface", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdAutocompleteSurface", | |
"declaration": { "name": "MdAutocompleteSurface" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-autocomplete-surface", | |
"declaration": { "name": "MdAutocompleteSurface" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "autocomplete/filled-autocomplete.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdFilledAutocomplete", | |
"superclass": { | |
"name": "Autocomplete", | |
"package": "@material/web", | |
"module": "autocomplete/lib/autocomplete.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[\n sharedStyles, filledStyles, filledForcedColorsStyles,\n sharedAutocompleteStyles, autocompleteStyles\n ]" | |
}, | |
{ | |
"kind": "field", | |
"name": "listTag", | |
"privacy": "protected", | |
"type": { | |
"text": "StaticValue", | |
"references": [ | |
{ | |
"name": "StaticValue", | |
"package": "lit-html", | |
"module": "static.js", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
}, | |
"default": "literal`md-autocomplete-list`" | |
}, | |
{ | |
"kind": "field", | |
"name": "menuSurfaceTag", | |
"privacy": "protected", | |
"type": { | |
"text": "StaticValue", | |
"references": [ | |
{ | |
"name": "StaticValue", | |
"package": "lit-html", | |
"module": "static.js", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
}, | |
"default": "literal`md-autocomplete-surface`" | |
}, | |
{ | |
"kind": "field", | |
"name": "fieldTag", | |
"privacy": "protected", | |
"type": { | |
"text": "StaticValue", | |
"references": [ | |
{ | |
"name": "StaticValue", | |
"package": "lit-html", | |
"module": "static.js", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
}, | |
"default": "literal`md-filled-field`" | |
}, | |
{ | |
"kind": "method", | |
"name": "getAutocompleteRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
} | |
], | |
"tagName": "md-filled-autocomplete", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdFilledAutocomplete", | |
"declaration": { "name": "MdFilledAutocomplete" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-filled-autocomplete", | |
"declaration": { "name": "MdFilledAutocomplete" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "autocomplete/outlined-autocomplete.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdOutlinedAutocomplete", | |
"superclass": { | |
"name": "Autocomplete", | |
"package": "@material/web", | |
"module": "autocomplete/lib/autocomplete.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[\n sharedStyles, outlinedStyles, outlinedForcedColorsStyles,\n sharedAutocompleteStyles, autocompleteStyles\n ]" | |
}, | |
{ | |
"kind": "field", | |
"name": "listTag", | |
"privacy": "protected", | |
"type": { | |
"text": "StaticValue", | |
"references": [ | |
{ | |
"name": "StaticValue", | |
"package": "lit-html", | |
"module": "static.js", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
}, | |
"default": "literal`md-autocomplete-list`" | |
}, | |
{ | |
"kind": "field", | |
"name": "menuSurfaceTag", | |
"privacy": "protected", | |
"type": { | |
"text": "StaticValue", | |
"references": [ | |
{ | |
"name": "StaticValue", | |
"package": "lit-html", | |
"module": "static.js", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
}, | |
"default": "literal`md-autocomplete-surface`" | |
}, | |
{ | |
"kind": "field", | |
"name": "fieldTag", | |
"privacy": "protected", | |
"type": { | |
"text": "StaticValue", | |
"references": [ | |
{ | |
"name": "StaticValue", | |
"package": "lit-html", | |
"module": "static.js", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
}, | |
"default": "literal`md-outlined-field`" | |
}, | |
{ | |
"kind": "method", | |
"name": "getAutocompleteRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
} | |
], | |
"tagName": "md-outlined-autocomplete", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdOutlinedAutocomplete", | |
"declaration": { "name": "MdOutlinedAutocomplete" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-outlined-autocomplete", | |
"declaration": { "name": "MdOutlinedAutocomplete" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "autocomplete/lib/autocomplete.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "Autocomplete", | |
"superclass": { | |
"name": "TextField", | |
"package": "@material/web", | |
"module": "textfield/lib/text-field.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "shadowRootOptions", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "ShadowRootInit", | |
"references": [ | |
{ | |
"name": "ShadowRootInit", | |
"package": "global:", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
}, | |
"default": "{mode: 'open', delegatesFocus: true}" | |
}, | |
{ | |
"kind": "field", | |
"name": "role", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "'combobox'" | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaAutoComplete", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "'list'" | |
}, | |
{ | |
"kind": "field", | |
"name": "listId", | |
"description": "The ID on the list element, used for SSR.", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "'autocomplete-list'" | |
}, | |
{ | |
"kind": "field", | |
"name": "itemIdPrefix", | |
"description": "The ID prefix for the item elements, used for SSR.", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "'autocomplete-item'" | |
}, | |
{ | |
"kind": "field", | |
"name": "menuSurfaceTag", | |
"privacy": "protected", | |
"type": { | |
"text": "StaticValue", | |
"references": [ | |
{ | |
"name": "StaticValue", | |
"package": "lit", | |
"module": "static-html.js", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "listTag", | |
"privacy": "protected", | |
"type": { | |
"text": "StaticValue", | |
"references": [ | |
{ | |
"name": "StaticValue", | |
"package": "lit", | |
"module": "static-html.js", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "menuSurface", | |
"privacy": "public", | |
"type": { | |
"text": "AutocompleteSurface", | |
"references": [ | |
{ | |
"name": "AutocompleteSurface", | |
"package": "@material/web", | |
"module": "autocomplete/lib/autocompletesurface/autocomplete-surface.js", | |
"start": 0, | |
"end": 19 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "list", | |
"privacy": "public", | |
"type": { | |
"text": "AutocompleteList", | |
"references": [ | |
{ | |
"name": "AutocompleteList", | |
"package": "@material/web", | |
"module": "autocomplete/lib/autocompletelist/autocomplete-list.js", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "slottedItems", | |
"privacy": "protected", | |
"type": { | |
"text": "AutocompleteItem[]", | |
"references": [ | |
{ | |
"name": "AutocompleteItem", | |
"package": "@material/web", | |
"module": "autocomplete/lib/autocompleteitem/autocomplete-item.js", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "value", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "selectedItem", | |
"privacy": "protected", | |
"type": { | |
"text": "AutocompleteItem", | |
"references": [ | |
{ | |
"name": "AutocompleteItem", | |
"package": "@material/web", | |
"module": "autocomplete/lib/autocompleteitem/autocomplete-item.js", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
}, | |
"default": "null" | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "public", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getAutocompleteRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "updated", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "changedProperties", | |
"type": { | |
"text": "Map<PropertyKey, unknown> | PropertyValueMap<any>", | |
"references": [ | |
{ | |
"name": "Map", | |
"package": "global:", | |
"start": 0, | |
"end": 3 | |
}, | |
{ | |
"name": "PropertyKey", | |
"package": "global:", | |
"start": 4, | |
"end": 15 | |
}, | |
{ | |
"name": "PropertyValueMap", | |
"package": "lit", | |
"start": 28, | |
"end": 44 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "firstUpdated", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "changedProperties", | |
"type": { | |
"text": "Map<PropertyKey, unknown> | PropertyValueMap<any>", | |
"references": [ | |
{ | |
"name": "Map", | |
"package": "global:", | |
"start": 0, | |
"end": 3 | |
}, | |
{ | |
"name": "PropertyKey", | |
"package": "global:", | |
"start": 4, | |
"end": 15 | |
}, | |
{ | |
"name": "PropertyValueMap", | |
"package": "lit", | |
"start": 28, | |
"end": 44 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "renderMenuSurface", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "isOpen", | |
"privacy": "public", | |
"return": { "type": { "text": "boolean" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "open", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "close", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleClicked", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "event", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleFocusout", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleAction", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "event", | |
"type": { | |
"text": "CustomEvent<{ item: AutocompleteItem; }>", | |
"references": [ | |
{ | |
"name": "CustomEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 11 | |
}, | |
{ | |
"name": "AutocompleteItem", | |
"package": "@material/web", | |
"module": "autocomplete/lib/autocompleteitem/autocomplete-item.js", | |
"start": 20, | |
"end": 36 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleKeydown", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "event", | |
"type": { | |
"text": "KeyboardEvent", | |
"references": [ | |
{ | |
"name": "KeyboardEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 13 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleKeyup", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "event", | |
"type": { | |
"text": "KeyboardEvent", | |
"references": [ | |
{ | |
"name": "KeyboardEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 13 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "updateSelectedItem", | |
"description": "When selectedItem is updated, item prefixes and aria-selected status will\nbe updated along with scrolling the selected item into view, if needed.", | |
"privacy": "private", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "getPreviousItem", | |
"privacy": "private", | |
"return": { | |
"type": { | |
"text": "AutocompleteItem", | |
"references": [ | |
{ | |
"name": "AutocompleteItem", | |
"package": "@material/web", | |
"module": "autocomplete/lib/autocompleteitem/autocomplete-item.js", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getNextItem", | |
"privacy": "private", | |
"return": { | |
"type": { | |
"text": "AutocompleteItem", | |
"references": [ | |
{ | |
"name": "AutocompleteItem", | |
"package": "@material/web", | |
"module": "autocomplete/lib/autocompleteitem/autocomplete-item.js", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "Autocomplete", | |
"declaration": { "name": "Autocomplete" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "autocomplete/lib/filled-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "autocomplete/lib/outlined-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "autocomplete/lib/shared-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "autocomplete/lib/autocompleteitem/autocomplete-item.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "AutocompleteItem", | |
"description": "Base class for autocomplete item component.", | |
"superclass": { | |
"name": "ListItem", | |
"package": "@material/web", | |
"module": "list/lib/listitem/list-item.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "role", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "'option'" | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "AutocompleteItem", | |
"declaration": { "name": "AutocompleteItem" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "autocomplete/lib/autocompletelist/autocomplete-list-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "autocomplete/lib/autocompletelist/autocomplete-list.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "AutocompleteList", | |
"description": "Base class for autocomplete list component.", | |
"superclass": { | |
"name": "List", | |
"package": "@material/web", | |
"module": "list/lib/list.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "role", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "'listbox'" | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "AutocompleteList", | |
"declaration": { "name": "AutocompleteList" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "autocomplete/lib/autocompletesurface/autocomplete-surface-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "autocomplete/lib/autocompletesurface/autocomplete-surface.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "AutocompleteSurface", | |
"description": "Base class for autocomplete surface component.", | |
"superclass": { | |
"name": "MenuSurface", | |
"package": "@material/web", | |
"module": "menusurface/lib/menu-surface.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "stayOpenOnBodyClick", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "true" | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "AutocompleteSurface", | |
"declaration": { "name": "AutocompleteSurface" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "badge/badge.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdBadge", | |
"superclass": { | |
"name": "Badge", | |
"package": "@material/web", | |
"module": "badge/lib/badge.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[styles]" | |
} | |
], | |
"tagName": "md-badge", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdBadge", | |
"declaration": { "name": "MdBadge" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-badge", | |
"declaration": { "name": "MdBadge" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "badge/lib/badge-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "badge/lib/badge.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "Badge", | |
"superclass": { "name": "LitElement", "package": "lit" }, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "value", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "Badge", "declaration": { "name": "Badge" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "button/elevated-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdElevatedButton", | |
"description": "__Emphasis:__ Medium emphasis – For important actions that don’t distract\nfrom other onscreen elements.\n\n__Rationale:__ Elevated buttons are essentially filled buttons with a lighter\nbackground color and a shadow. To prevent shadow creep, only use them when\nabsolutely necessary, such as when the button requires visual separation from\na patterned background.\n\n__Example usages:__\n- Reply\n- View all\n- Add to cart\n- Take out of trash", | |
"summary": "Buttons help people take action, such as sending an email, sharing a\ndocument, or liking a comment.", | |
"superclass": { | |
"name": "ElevatedButton", | |
"package": "@material/web", | |
"module": "button/lib/elevated-button.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[sharedStyles, sharedElevationStyles, elevatedStyles]" | |
} | |
], | |
"tagName": "md-elevated-button", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdElevatedButton", | |
"declaration": { "name": "MdElevatedButton" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-elevated-button", | |
"declaration": { "name": "MdElevatedButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "button/elevated-link-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdElevatedLinkButton", | |
"description": "__Emphasis:__ Medium emphasis – For important actions that don’t distract\nfrom other onscreen elements.\n\n__Rationale:__ Elevated buttons are essentially filled buttons with a lighter\nbackground color and a shadow. To prevent shadow creep, only use them when\nabsolutely necessary, such as when the button requires visual separation from\na patterned background.\n\n__Example usages:__\n- Reply\n- View all\n- Add to cart\n- Take out of trash", | |
"summary": "Buttons help people take action, such as sending an email, sharing a\ndocument, or liking a comment. This is a linkable variant.", | |
"superclass": { | |
"name": "ElevatedLinkButton", | |
"package": "@material/web", | |
"module": "button/lib/elevated-link-button.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[sharedStyles, sharedElevationStyles, elevatedStyles]" | |
} | |
], | |
"tagName": "md-elevated-link-button", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdElevatedLinkButton", | |
"declaration": { "name": "MdElevatedLinkButton" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-elevated-link-button", | |
"declaration": { "name": "MdElevatedLinkButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "button/filled-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdFilledButton", | |
"description": "__Emphasis:__ High emphasis – For the primary, most important, or most common\naction on a screen\n\n__Rationale:__ The filled button’s contrasting surface color makes it the\nmost prominent button after the FAB. It’s used for final or unblocking\nactions in a flow.\n\n__Example usages:__\n- Save\n- Confirm\n- Done", | |
"summary": "Buttons help people take action, such as sending an email, sharing a\ndocument, or liking a comment.", | |
"superclass": { | |
"name": "FilledButton", | |
"package": "@material/web", | |
"module": "button/lib/filled-button.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[sharedStyles, sharedElevationStyles, filledStyles]" | |
} | |
], | |
"tagName": "md-filled-button", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdFilledButton", | |
"declaration": { "name": "MdFilledButton" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-filled-button", | |
"declaration": { "name": "MdFilledButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "button/filled-link-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdFilledLinkButton", | |
"description": "__Emphasis:__ High emphasis – For the primary, most important, or most common\naction on a screen\n\n__Rationale:__ The filled button’s contrasting surface color makes it the\nmost prominent button after the FAB. It’s used for final or unblocking\nactions in a flow.\n\n__Example usages:__\n- Save\n- Confirm\n- Done", | |
"summary": "Buttons help people take action, such as sending an email, sharing a\ndocument, or liking a comment. This is a linkable variant.", | |
"superclass": { | |
"name": "FilledLinkButton", | |
"package": "@material/web", | |
"module": "button/lib/filled-link-button.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[sharedStyles, sharedElevationStyles, filledStyles]" | |
} | |
], | |
"tagName": "md-filled-link-button", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdFilledLinkButton", | |
"declaration": { "name": "MdFilledLinkButton" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-filled-link-button", | |
"declaration": { "name": "MdFilledLinkButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "button/outlined-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdOutlinedButton", | |
"description": "__Emphasis:__ Medium emphasis – For important actions that don’t distract\nfrom other onscreen elements.\n\n__Rationale:__ Use an outlined button for actions that need attention but\naren’t the primary action, such as “See all” or “Add to cart.” This is also\nthe button to use for giving someone the opportunity to change their mind or\nescape a flow.\n\n__Example usages:__\n- Reply\n- View all\n- Add to cart\n- Take out of trash", | |
"summary": "Buttons help people take action, such as sending an email, sharing a\ndocument, or liking a comment.", | |
"superclass": { | |
"name": "OutlinedButton", | |
"package": "@material/web", | |
"module": "button/lib/outlined-button.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[sharedStyles, outlinedStyles]" | |
} | |
], | |
"tagName": "md-outlined-button", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdOutlinedButton", | |
"declaration": { "name": "MdOutlinedButton" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-outlined-button", | |
"declaration": { "name": "MdOutlinedButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "button/outlined-link-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdOutlinedLinkButton", | |
"description": "__Emphasis:__ Medium emphasis – For important actions that don’t distract\nfrom other onscreen elements.\n\n__Rationale:__ Use an outlined button for actions that need attention but\naren’t the primary action, such as “See all” or “Add to cart.” This is also\nthe button to use for giving someone the opportunity to change their mind or\nescape a flow.\n\n__Example usages:__\n- Reply\n- View all\n- Add to cart\n- Take out of trash", | |
"summary": "Buttons help people take action, such as sending an email, sharing a\ndocument, or liking a comment. This is a linkable variant.", | |
"superclass": { | |
"name": "OutlinedLinkButton", | |
"package": "@material/web", | |
"module": "button/lib/outlined-link-button.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[sharedStyles, outlinedStyles]" | |
} | |
], | |
"tagName": "md-outlined-link-button", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdOutlinedLinkButton", | |
"declaration": { "name": "MdOutlinedLinkButton" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-outlined-link-button", | |
"declaration": { "name": "MdOutlinedLinkButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "button/text-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdTextButton", | |
"description": "__Emphasis:__ Low emphasis – For optional or supplementary actions with the\nleast amount of prominence\n\n__Rationale:__ Text buttons have less visual prominence, so should be used\nfor low emphasis actions, such as an alternative option.\n\n__Example usages:__\n- Learn more\n- View all\n- Change account\n- Turn on", | |
"summary": "Buttons help people take action, such as sending an email, sharing a\ndocument, or liking a comment.", | |
"superclass": { | |
"name": "TextButton", | |
"package": "@material/web", | |
"module": "button/lib/text-button.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[sharedStyles, textStyles]" | |
} | |
], | |
"tagName": "md-text-button", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdTextButton", | |
"declaration": { "name": "MdTextButton" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-text-button", | |
"declaration": { "name": "MdTextButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "button/text-link-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdTextLinkButton", | |
"description": "__Emphasis:__ Low emphasis – For optional or supplementary actions with the\nleast amount of prominence\n\n__Rationale:__ Text buttons have less visual prominence, so should be used\nfor low emphasis actions, such as an alternative option.\n\n__Example usages:__\n- Learn more\n- View all\n- Change account\n- Turn on", | |
"summary": "Buttons help people take action, such as sending an email, sharing a\ndocument, or liking a comment. This is a linkable variant.", | |
"superclass": { | |
"name": "TextLinkButton", | |
"package": "@material/web", | |
"module": "button/lib/text-link-button.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[sharedStyles, textStyles]" | |
} | |
], | |
"tagName": "md-text-link-button", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdTextLinkButton", | |
"declaration": { "name": "MdTextLinkButton" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-text-link-button", | |
"declaration": { "name": "MdTextLinkButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "button/tonal-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdTonalButton", | |
"description": "__Emphasis:__ Medium emphasis – For important actions that don’t distract\nfrom other onscreen elements.\n\n__Rationale:__ Filled tonal buttons have a lighter background color and\ndarker label color, making them less visually prominent than a regular,\nfilled button. They’re still used for final or unblocking actions in a flow,\nbut do so with less emphasis.\n\n__Example usages:__\n- Save\n- Confirm\n- Done", | |
"summary": "Buttons help people take action, such as sending an email, sharing a\ndocument, or liking a comment.", | |
"superclass": { | |
"name": "TonalButton", | |
"package": "@material/web", | |
"module": "button/lib/tonal-button.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[sharedStyles, sharedElevationStyles, tonalStyles]" | |
} | |
], | |
"tagName": "md-tonal-button", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdTonalButton", | |
"declaration": { "name": "MdTonalButton" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-tonal-button", | |
"declaration": { "name": "MdTonalButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "button/tonal-link-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdTonalLinkButton", | |
"description": "__Emphasis:__ Medium emphasis – For important actions that don’t distract\nfrom other onscreen elements.\n\n__Rationale:__ Filled tonal buttons have a lighter background color and\ndarker label color, making them less visually prominent than a regular,\nfilled button. They’re still used for final or unblocking actions in a flow,\nbut do so with less emphasis.\n\n__Example usages:__\n- Save\n- Confirm\n- Done", | |
"summary": "Buttons help people take action, such as sending an email, sharing a\ndocument, or liking a comment. This is a linkable variant.", | |
"superclass": { | |
"name": "TonalLinkButton", | |
"package": "@material/web", | |
"module": "button/lib/tonal-link-button.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[sharedStyles, sharedElevationStyles, tonalStyles]" | |
} | |
], | |
"tagName": "md-tonal-link-button", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdTonalLinkButton", | |
"declaration": { "name": "MdTonalLinkButton" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-tonal-link-button", | |
"declaration": { "name": "MdTonalLinkButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "button/lib/button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "Button", | |
"superclass": { "name": "LitElement", "package": "lit" }, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "shadowRootOptions", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "ShadowRootInit", | |
"references": [ | |
{ | |
"name": "ShadowRootInit", | |
"package": "global:", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
}, | |
"default": "{mode: 'open', delegatesFocus: true}" | |
}, | |
{ | |
"kind": "field", | |
"name": "iconTag", | |
"privacy": "protected", | |
"type": { | |
"text": "StaticValue", | |
"references": [ | |
{ | |
"name": "StaticValue", | |
"package": "lit-html", | |
"module": "static.js", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
}, | |
"default": "literal`md-icon`" | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaHasPopup", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaLabel", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "disabled", | |
"description": "Whether or not the button is disabled.", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "trailingIcon", | |
"description": "_Note:_ Link buttons cannot have trailing icons.", | |
"summary": "Whether to render the icon at the inline end of the label rather than the\ninline start.", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "icon", | |
"description": "See md-icon's documentation for usage.", | |
"summary": "The label of the icon to render.", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "label", | |
"description": "The button's visible label.", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "hasIcon", | |
"description": "Whether to display the icon or not.", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "preventClickDefault", | |
"description": "Whether `preventDefault()` should be called on the underlying button.\nUseful for preventing certain native functionalities like preventing form\nsubmissions.", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "buttonElement", | |
"privacy": "protected", | |
"type": { | |
"text": "HTMLElement", | |
"references": [ | |
{ | |
"name": "HTMLElement", | |
"package": "global:", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "ripple", | |
"privacy": "protected", | |
"type": { | |
"text": "Promise<MdRipple>", | |
"references": [ | |
{ | |
"name": "Promise", | |
"package": "global:", | |
"start": 0, | |
"end": 7 | |
}, | |
{ | |
"name": "MdRipple", | |
"package": "@material/web", | |
"module": "ripple/ripple.js", | |
"start": 8, | |
"end": 16 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "showFocusRing", | |
"privacy": "protected", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "showRipple", | |
"privacy": "protected", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "iconElement", | |
"privacy": "protected", | |
"type": { | |
"text": "HTMLElement[]", | |
"references": [ | |
{ | |
"name": "HTMLElement", | |
"package": "global:", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "handleActivationClick", | |
"privacy": "private", | |
"type": { | |
"text": "(event: MouseEvent) => void", | |
"references": [ | |
{ | |
"name": "MouseEvent", | |
"package": "global:", | |
"start": 8, | |
"end": 18 | |
} | |
] | |
}, | |
"default": "(event: MouseEvent) => {\n if (!isActivationClick((event))) {\n return;\n }\n this.focus();\n dispatchActivationClick(this.buttonElement);\n }" | |
}, | |
{ | |
"kind": "field", | |
"name": "getRipple", | |
"privacy": "protected", | |
"type": { | |
"text": "() => Promise<MdRipple>", | |
"references": [ | |
{ | |
"name": "Promise", | |
"package": "global:", | |
"start": 6, | |
"end": 13 | |
}, | |
{ | |
"name": "MdRipple", | |
"package": "@material/web", | |
"module": "ripple/ripple.js", | |
"start": 14, | |
"end": 22 | |
} | |
] | |
}, | |
"default": "() => {\n this.showRipple = true;\n return this.ripple;\n }" | |
}, | |
{ | |
"kind": "field", | |
"name": "renderRipple", | |
"privacy": "protected", | |
"type": { | |
"text": "() => TemplateResult<1>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 6, | |
"end": 20 | |
} | |
] | |
}, | |
"default": "() => {\n return html`<md-ripple class=\"md3-button__ripple\" ?disabled=\"${\n this.disabled}\"></md-ripple>`;\n }" | |
}, | |
{ | |
"kind": "method", | |
"name": "focus", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "blur", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getIconContainerClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderTouchTarget", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderElevation", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderOutline", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderFocusRing", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderLabel", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderLeadingIcon", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "string | TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 9, | |
"end": 23 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderTrailingIcon", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "string | TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 9, | |
"end": 23 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderIcon", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderFontIcon", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "update", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "changedProperties", | |
"type": { | |
"text": "Map<string, string>", | |
"references": [ | |
{ | |
"name": "Map", | |
"package": "global:", | |
"start": 0, | |
"end": 3 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handlePointerDown", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleClick", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "MouseEvent", | |
"references": [ | |
{ | |
"name": "MouseEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 10 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleFocus", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleBlur", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleSlotChange", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "Button", "declaration": { "name": "Button" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "button/lib/elevated-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "ElevatedButton", | |
"superclass": { | |
"name": "Button", | |
"package": "@material/web", | |
"module": "button/lib/button.js" | |
}, | |
"members": [ | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderElevation", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "ElevatedButton", | |
"declaration": { "name": "ElevatedButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "button/lib/elevated-link-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "ElevatedLinkButton", | |
"superclass": { | |
"name": "LinkButton", | |
"package": "@material/web", | |
"module": "button/lib/link-button.js" | |
}, | |
"members": [ | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderElevation", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "ElevatedLinkButton", | |
"declaration": { "name": "ElevatedLinkButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "button/lib/elevated-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "button/lib/filled-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "FilledButton", | |
"superclass": { | |
"name": "Button", | |
"package": "@material/web", | |
"module": "button/lib/button.js" | |
}, | |
"members": [ | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderElevation", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "FilledButton", | |
"declaration": { "name": "FilledButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "button/lib/filled-link-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "FilledLinkButton", | |
"superclass": { | |
"name": "LinkButton", | |
"package": "@material/web", | |
"module": "button/lib/link-button.js" | |
}, | |
"members": [ | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderElevation", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "FilledLinkButton", | |
"declaration": { "name": "FilledLinkButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "button/lib/filled-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "button/lib/link-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "LinkButton", | |
"superclass": { | |
"name": "Button", | |
"package": "@material/web", | |
"module": "button/lib/button.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "href", | |
"description": "Sets the underlying `HTMLAnchorElement`'s `href` resource attribute.", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "target", | |
"description": "Sets the underlying `HTMLAnchorElement`'s `target` attribute.", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "disabled", | |
"description": "Link buttons cannot be disabled.", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getIconContainerClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "LinkButton", | |
"declaration": { "name": "LinkButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "button/lib/outlined-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "OutlinedButton", | |
"superclass": { | |
"name": "Button", | |
"package": "@material/web", | |
"module": "button/lib/button.js" | |
}, | |
"members": [ | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderOutline", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "OutlinedButton", | |
"declaration": { "name": "OutlinedButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "button/lib/outlined-link-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "OutlinedLinkButton", | |
"superclass": { | |
"name": "LinkButton", | |
"package": "@material/web", | |
"module": "button/lib/link-button.js" | |
}, | |
"members": [ | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderOutline", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "OutlinedLinkButton", | |
"declaration": { "name": "OutlinedLinkButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "button/lib/outlined-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "button/lib/shared-elevation-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "button/lib/shared-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ "kind": "javascript-module", "path": "button/lib/state.js" }, | |
{ | |
"kind": "javascript-module", | |
"path": "button/lib/text-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "TextButton", | |
"superclass": { | |
"name": "Button", | |
"package": "@material/web", | |
"module": "button/lib/button.js" | |
}, | |
"members": [ | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "TextButton", | |
"declaration": { "name": "TextButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "button/lib/text-link-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "TextLinkButton", | |
"superclass": { | |
"name": "LinkButton", | |
"package": "@material/web", | |
"module": "button/lib/link-button.js" | |
}, | |
"members": [ | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "TextLinkButton", | |
"declaration": { "name": "TextLinkButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "button/lib/text-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "button/lib/tonal-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "TonalButton", | |
"superclass": { | |
"name": "Button", | |
"package": "@material/web", | |
"module": "button/lib/button.js" | |
}, | |
"members": [ | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderElevation", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "TonalButton", | |
"declaration": { "name": "TonalButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "button/lib/tonal-link-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "TonalLinkButton", | |
"superclass": { | |
"name": "LinkButton", | |
"package": "@material/web", | |
"module": "button/lib/link-button.js" | |
}, | |
"members": [ | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderElevation", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "TonalLinkButton", | |
"declaration": { "name": "TonalLinkButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "button/lib/tonal-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "checkbox/checkbox.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdCheckbox", | |
"description": "Checkboxes allow users to select one or more items from a set. Checkboxes can\nturn an option on or off.", | |
"superclass": { | |
"name": "Checkbox", | |
"package": "@material/web", | |
"module": "checkbox/lib/checkbox.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[styles, forcedColorsStyles]" | |
} | |
], | |
"tagName": "md-checkbox", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdCheckbox", | |
"declaration": { "name": "MdCheckbox" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-checkbox", | |
"declaration": { "name": "MdCheckbox" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "checkbox/lib/checkbox-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "checkbox/lib/checkbox.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "Checkbox", | |
"description": "A checkbox component.", | |
"superclass": { "name": "LitElement", "package": "lit" }, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "checked", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "disabled", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "error", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "indeterminate", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaLabel", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "prevChecked", | |
"privacy": "private", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "prevDisabled", | |
"privacy": "private", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "prevIndeterminate", | |
"privacy": "private", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "ripple", | |
"privacy": "private", | |
"type": { | |
"text": "Promise<MdRipple>", | |
"references": [ | |
{ | |
"name": "Promise", | |
"package": "global:", | |
"start": 0, | |
"end": 7 | |
}, | |
{ | |
"name": "MdRipple", | |
"package": "@material/web", | |
"module": "ripple/ripple.js", | |
"start": 8, | |
"end": 16 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "showFocusRing", | |
"privacy": "private", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "showRipple", | |
"privacy": "private", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "getRipple", | |
"privacy": "private", | |
"type": { | |
"text": "() => Promise<MdRipple>", | |
"references": [ | |
{ | |
"name": "Promise", | |
"package": "global:", | |
"start": 6, | |
"end": 13 | |
}, | |
{ | |
"name": "MdRipple", | |
"package": "@material/web", | |
"module": "ripple/ripple.js", | |
"start": 14, | |
"end": 22 | |
} | |
] | |
}, | |
"default": "() => { // bind to this\n this.showRipple = true;\n return this.ripple;\n }" | |
}, | |
{ | |
"kind": "field", | |
"name": "renderRipple", | |
"privacy": "private", | |
"type": { | |
"text": "() => TemplateResult<1>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 6, | |
"end": 20 | |
} | |
] | |
}, | |
"default": "() => { // bind to this\n return html`<md-ripple ?disabled=${this.disabled} unbounded></md-ripple>`;\n }" | |
}, | |
{ | |
"kind": "method", | |
"name": "update", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "changed", | |
"type": { | |
"text": "PropertyValueMap<Checkbox>", | |
"references": [ | |
{ | |
"name": "PropertyValueMap", | |
"package": "lit", | |
"start": 0, | |
"end": 16 | |
}, | |
{ | |
"name": "Checkbox", | |
"package": "@material/web", | |
"module": "checkbox/lib/checkbox.js", | |
"start": 17, | |
"end": 25 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "handleBlur", | |
"privacy": "private", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleChange", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "event", | |
"type": { | |
"text": "Event", | |
"references": [ | |
{ | |
"name": "Event", | |
"package": "global:", | |
"start": 0, | |
"end": 5 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleFocus", | |
"privacy": "private", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handlePointerDown", | |
"privacy": "private", | |
"return": { "type": { "text": "void" } } | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "Checkbox", | |
"declaration": { "name": "Checkbox" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "checkbox/lib/forced-colors-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "chips/action/delete-action.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdDeleteAction", | |
"superclass": { | |
"name": "DeleteAction", | |
"package": "@material/web", | |
"module": "chips/action/lib/delete-action.js" | |
}, | |
"tagName": "md-delete-action", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdDeleteAction", | |
"declaration": { "name": "MdDeleteAction" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-delete-action", | |
"declaration": { "name": "MdDeleteAction" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "chips/action/link-action.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdLinkAction", | |
"superclass": { | |
"name": "LinkAction", | |
"package": "@material/web", | |
"module": "chips/action/lib/link-action.js" | |
}, | |
"tagName": "md-link-action", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdLinkAction", | |
"declaration": { "name": "MdLinkAction" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-link-action", | |
"declaration": { "name": "MdLinkAction" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "chips/action/presentational-action.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdPresentationalAction", | |
"superclass": { | |
"name": "PresentationalAction", | |
"package": "@material/web", | |
"module": "chips/action/lib/presentational-action.js" | |
}, | |
"tagName": "md-presentational-action", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdPresentationalAction", | |
"declaration": { "name": "MdPresentationalAction" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-presentational-action", | |
"declaration": { "name": "MdPresentationalAction" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "chips/action/primary-action.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdPrimaryAction", | |
"superclass": { | |
"name": "PrimaryAction", | |
"package": "@material/web", | |
"module": "chips/action/lib/primary-action.js" | |
}, | |
"tagName": "md-primary-action", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdPrimaryAction", | |
"declaration": { "name": "MdPrimaryAction" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-primary-action", | |
"declaration": { "name": "MdPrimaryAction" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "chips/action/selectable-action.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdSelectableAction", | |
"superclass": { | |
"name": "SelectableAction", | |
"package": "@material/web", | |
"module": "chips/action/lib/selectable-action.js" | |
}, | |
"tagName": "md-selectable-action", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdSelectableAction", | |
"declaration": { "name": "MdSelectableAction" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-selectable-action", | |
"declaration": { "name": "MdSelectableAction" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "chips/action/lib/action.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "Action", | |
"description": "Base class for all actions.", | |
"superclass": { | |
"name": "ActionElement", | |
"package": "@material/web", | |
"module": "actionelement/action-element.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "isDeletable", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "isFocusable", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "isTouchable", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "disabled", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "showFocusRing", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "ripple", | |
"privacy": "public", | |
"type": { | |
"text": "MdRipple", | |
"references": [ | |
{ | |
"name": "MdRipple", | |
"package": "@material/web", | |
"module": "ripple/ripple.js", | |
"start": 0, | |
"end": 8 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaLabel", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "method", | |
"name": "getRootClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getRippleClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderTouchTarget", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderRipple", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderFocusRing", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "handleFocus", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleBlur", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "beginPress", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "{positionEvent}", | |
"type": { | |
"text": "BeginPressConfig", | |
"references": [ | |
{ | |
"name": "BeginPressConfig", | |
"package": "@material/web", | |
"module": "actionelement/action-element.js", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "endPress", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "options", | |
"type": { | |
"text": "EndPressConfig", | |
"references": [ | |
{ | |
"name": "EndPressConfig", | |
"package": "@material/web", | |
"module": "actionelement/action-element.js", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handlePointerEnter", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handlePointerLeave", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handlePointerDown", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleClick", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "MouseEvent", | |
"references": [ | |
{ | |
"name": "MouseEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 10 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleKeyDown", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "KeyboardEvent", | |
"references": [ | |
{ | |
"name": "KeyboardEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 13 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "getInteractionEvent", | |
"privacy": "protected", | |
"return": { "type": { "text": "string" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "dispatchCustomEvent", | |
"privacy": "private", | |
"parameters": [ | |
{ "name": "eventType", "type": { "text": "string" } } | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "isRTL", | |
"privacy": "private", | |
"return": { "type": { "text": "boolean" } } | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "Action", "declaration": { "name": "Action" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "chips/action/lib/constants.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "MDCChipActionCssClasses", | |
"description": "MDCChipActionCssClasses provides the classes to be queried and manipulated on\nthe root.", | |
"type": { | |
"text": "MDCChipActionCssClasses", | |
"references": [ | |
{ | |
"name": "MDCChipActionCssClasses", | |
"package": "@material/web", | |
"module": "chips/action/lib/constants.js", | |
"start": 0, | |
"end": 23 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "variable", | |
"name": "MDCChipActionInteractionTrigger", | |
"description": "MDCChipActionInteractionTrigger provides detail of the different triggers for\naction interactions.", | |
"type": { | |
"text": "MDCChipActionInteractionTrigger", | |
"references": [ | |
{ | |
"name": "MDCChipActionInteractionTrigger", | |
"package": "@material/web", | |
"module": "chips/action/lib/constants.js", | |
"start": 0, | |
"end": 31 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "variable", | |
"name": "MDCChipActionType", | |
"description": "MDCChipActionType provides the different types of available actions.", | |
"type": { | |
"text": "MDCChipActionType", | |
"references": [ | |
{ | |
"name": "MDCChipActionType", | |
"package": "@material/web", | |
"module": "chips/action/lib/constants.js", | |
"start": 0, | |
"end": 17 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "variable", | |
"name": "MDCChipActionEvents", | |
"description": "MDCChipActionEvents provides the different events emitted by the action.", | |
"type": { | |
"text": "MDCChipActionEvents", | |
"references": [ | |
{ | |
"name": "MDCChipActionEvents", | |
"package": "@material/web", | |
"module": "chips/action/lib/constants.js", | |
"start": 0, | |
"end": 19 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "variable", | |
"name": "MDCChipActionFocusBehavior", | |
"description": "MDCChipActionFocusBehavior provides configurations for focusing or unfocusing\nan action.", | |
"type": { | |
"text": "MDCChipActionFocusBehavior", | |
"references": [ | |
{ | |
"name": "MDCChipActionFocusBehavior", | |
"package": "@material/web", | |
"module": "chips/action/lib/constants.js", | |
"start": 0, | |
"end": 26 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "variable", | |
"name": "MDCChipActionAttributes", | |
"description": "MDCChipActionAttributes provides the HTML attributes used by the foundation.", | |
"type": { | |
"text": "MDCChipActionAttributes", | |
"references": [ | |
{ | |
"name": "MDCChipActionAttributes", | |
"package": "@material/web", | |
"module": "chips/action/lib/constants.js", | |
"start": 0, | |
"end": 23 | |
} | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MDCChipActionCssClasses", | |
"declaration": { "name": "MDCChipActionCssClasses" } | |
}, | |
{ | |
"kind": "js", | |
"name": "MDCChipActionInteractionTrigger", | |
"declaration": { "name": "MDCChipActionInteractionTrigger" } | |
}, | |
{ | |
"kind": "js", | |
"name": "MDCChipActionType", | |
"declaration": { "name": "MDCChipActionType" } | |
}, | |
{ | |
"kind": "js", | |
"name": "MDCChipActionEvents", | |
"declaration": { "name": "MDCChipActionEvents" } | |
}, | |
{ | |
"kind": "js", | |
"name": "MDCChipActionFocusBehavior", | |
"declaration": { "name": "MDCChipActionFocusBehavior" } | |
}, | |
{ | |
"kind": "js", | |
"name": "MDCChipActionAttributes", | |
"declaration": { "name": "MDCChipActionAttributes" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "chips/action/lib/delete-action.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "DeleteAction", | |
"superclass": { | |
"name": "Action", | |
"package": "@material/web", | |
"module": "chips/action/lib/action.js" | |
}, | |
"members": [ | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getRootClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getRippleClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderDeleteIcon", | |
"privacy": "private", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getInteractionEvent", | |
"privacy": "public", | |
"return": { "type": { "text": "string" } } | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "DeleteAction", | |
"declaration": { "name": "DeleteAction" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "chips/action/lib/events.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "Md3ChipActionEventType", | |
"description": "Events emitted by the action.", | |
"type": { | |
"text": "Md3ChipActionEventType", | |
"references": [ | |
{ | |
"name": "Md3ChipActionEventType", | |
"package": "@material/web", | |
"module": "chips/action/lib/events.js", | |
"start": 0, | |
"end": 22 | |
} | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "Md3ChipActionEventType", | |
"declaration": { "name": "Md3ChipActionEventType" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "chips/action/lib/link-action.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "LinkAction", | |
"superclass": { | |
"name": "PrimaryAction", | |
"package": "@material/web", | |
"module": "chips/action/lib/primary-action.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "href", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "target", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "endPress", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "options", | |
"type": { | |
"text": "EndPressConfig", | |
"references": [ | |
{ | |
"name": "EndPressConfig", | |
"package": "@material/web", | |
"module": "actionelement/action-element.js", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "LinkAction", | |
"declaration": { "name": "LinkAction" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "chips/action/lib/presentational-action.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "PresentationalAction", | |
"superclass": { | |
"name": "PrimaryAction", | |
"package": "@material/web", | |
"module": "chips/action/lib/primary-action.js" | |
}, | |
"members": [ | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getRootClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "PresentationalAction", | |
"declaration": { "name": "PresentationalAction" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "chips/action/lib/primary-action.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "PrimaryAction", | |
"description": "Base class for all primary actions: Presentational, Selectable, Link", | |
"superclass": { | |
"name": "Action", | |
"package": "@material/web", | |
"module": "chips/action/lib/action.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "label", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "icon", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getRootClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getRippleClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderGraphic", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderIcon", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderLabel", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "PrimaryAction", | |
"declaration": { "name": "PrimaryAction" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "chips/action/lib/selectable-action.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "SelectableAction", | |
"superclass": { | |
"name": "PrimaryAction", | |
"package": "@material/web", | |
"module": "chips/action/lib/primary-action.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "selected", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderGraphic", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderCheckMark", | |
"privacy": "private", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "SelectableAction", | |
"declaration": { "name": "SelectableAction" } | |
} | |
] | |
}, | |
{ "kind": "javascript-module", "path": "chips/action/lib/types.js" }, | |
{ | |
"kind": "javascript-module", | |
"path": "chips/chip/lib/action-chip.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "ActionChip", | |
"superclass": { | |
"name": "Chip", | |
"package": "@material/web", | |
"module": "chips/chip/lib/chip.js" | |
}, | |
"members": [ | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderPrimaryAction", | |
"privacy": "private", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "ActionChip", | |
"declaration": { "name": "ActionChip" } | |
} | |
] | |
}, | |
{ "kind": "javascript-module", "path": "chips/chip/lib/adapter.js" }, | |
{ | |
"kind": "javascript-module", | |
"path": "chips/chip/lib/animationframe.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "AnimationFrame", | |
"description": "AnimationFrame provides a user-friendly abstraction around requesting\nand canceling animation frames.", | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "rafIDs", | |
"privacy": "private", | |
"type": { | |
"text": "Map<string, number>", | |
"references": [ | |
{ "name": "Map", "package": "global:", "start": 0, "end": 3 } | |
] | |
}, | |
"default": "new Map<string, number>()" | |
}, | |
{ | |
"kind": "method", | |
"name": "request", | |
"description": "Requests an animation frame. Cancels any existing frame with the same key.", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "key", | |
"description": "The key for this callback.", | |
"type": { "text": "string" } | |
}, | |
{ | |
"name": "callback", | |
"description": "The callback to be executed.", | |
"type": { | |
"text": "FrameRequestCallback", | |
"references": [ | |
{ | |
"name": "FrameRequestCallback", | |
"package": "global:", | |
"start": 0, | |
"end": 20 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "cancel", | |
"description": "Cancels a queued callback with the given key.", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "key", | |
"description": "The key for this callback.", | |
"type": { "text": "string" } | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "cancelAll", | |
"description": "Cancels all queued callback.", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "getQueue", | |
"description": "Returns the queue of unexecuted callback keys.", | |
"privacy": "public", | |
"return": { "type": { "text": "string[]" } } | |
} | |
] | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "AnimationFrame", | |
"declaration": { "name": "AnimationFrame" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "chips/chip/lib/chip.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "BorderType", | |
"description": "Defines the border type of a chip.", | |
"type": { | |
"text": "BorderType", | |
"references": [ | |
{ | |
"name": "BorderType", | |
"package": "@material/web", | |
"module": "chips/chip/lib/chip.js", | |
"start": 0, | |
"end": 10 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "variable", | |
"name": "EdgeType", | |
"description": "Defines the shape of the vertical edge of a chip.", | |
"type": { | |
"text": "EdgeType", | |
"references": [ | |
{ | |
"name": "EdgeType", | |
"package": "@material/web", | |
"module": "chips/chip/lib/chip.js", | |
"start": 0, | |
"end": 8 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "class", | |
"name": "Chip", | |
"superclass": { | |
"name": "ActionElement", | |
"package": "@material/web", | |
"module": "actionelement/action-element.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "isFocusable", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "isTouchable", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "disabled", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "hasAvatar", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "hasDeleteAction", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "icon", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "label", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "borderType", | |
"privacy": "public", | |
"type": { | |
"text": "BorderType", | |
"references": [ | |
{ | |
"name": "BorderType", | |
"package": "@material/web", | |
"module": "chips/chip/lib/chip.js", | |
"start": 0, | |
"end": 10 | |
} | |
] | |
}, | |
"default": "BorderType.HAIRLINE" | |
}, | |
{ | |
"kind": "field", | |
"name": "edgeType", | |
"privacy": "public", | |
"type": { | |
"text": "EdgeType", | |
"references": [ | |
{ | |
"name": "EdgeType", | |
"package": "@material/web", | |
"module": "chips/chip/lib/chip.js", | |
"start": 0, | |
"end": 8 | |
} | |
] | |
}, | |
"default": "EdgeType.ROUNDED" | |
}, | |
{ | |
"kind": "field", | |
"name": "addedAnnouncement", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "removedAnnouncement", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "closeActionAriaLabel", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaLabel", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "method", | |
"name": "getRootClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderOverlay", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderDeleteAction", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "BorderType", | |
"declaration": { "name": "BorderType" } | |
}, | |
{ | |
"kind": "js", | |
"name": "EdgeType", | |
"declaration": { "name": "EdgeType" } | |
}, | |
{ "kind": "js", "name": "Chip", "declaration": { "name": "Chip" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "chips/chip/lib/constants.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "MDCChipCssClasses", | |
"description": "MDCChipCssClasses provides the named constants for class names.", | |
"type": { | |
"text": "MDCChipCssClasses", | |
"references": [ | |
{ | |
"name": "MDCChipCssClasses", | |
"package": "@material/web", | |
"module": "chips/chip/lib/constants.js", | |
"start": 0, | |
"end": 17 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "variable", | |
"name": "MDCChipEvents", | |
"description": "MDCChipEvents provides the named constants for emitted events.", | |
"type": { | |
"text": "MDCChipEvents", | |
"references": [ | |
{ | |
"name": "MDCChipEvents", | |
"package": "@material/web", | |
"module": "chips/chip/lib/constants.js", | |
"start": 0, | |
"end": 13 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "variable", | |
"name": "MDCChipAttributes", | |
"description": "MDCChipAttributes provides the named constants for strings used by the\nfoundation.", | |
"type": { | |
"text": "MDCChipAttributes", | |
"references": [ | |
{ | |
"name": "MDCChipAttributes", | |
"package": "@material/web", | |
"module": "chips/chip/lib/constants.js", | |
"start": 0, | |
"end": 17 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "variable", | |
"name": "MDCChipAnimation", | |
"description": "MDCChipAnimation provides the names of runnable animations.", | |
"type": { | |
"text": "MDCChipAnimation", | |
"references": [ | |
{ | |
"name": "MDCChipAnimation", | |
"package": "@material/web", | |
"module": "chips/chip/lib/constants.js", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MDCChipCssClasses", | |
"declaration": { "name": "MDCChipCssClasses" } | |
}, | |
{ | |
"kind": "js", | |
"name": "MDCChipEvents", | |
"declaration": { "name": "MDCChipEvents" } | |
}, | |
{ | |
"kind": "js", | |
"name": "MDCChipAttributes", | |
"declaration": { "name": "MDCChipAttributes" } | |
}, | |
{ | |
"kind": "js", | |
"name": "MDCChipAnimation", | |
"declaration": { "name": "MDCChipAnimation" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "chips/chip/lib/foundation.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "Direction", | |
"type": { | |
"text": "Direction", | |
"references": [ | |
{ | |
"name": "Direction", | |
"package": "@material/web", | |
"module": "chips/chip/lib/foundation.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "variable", | |
"name": "AnimationKeys", | |
"type": { | |
"text": "AnimationKeys", | |
"references": [ | |
{ | |
"name": "AnimationKeys", | |
"package": "@material/web", | |
"module": "chips/chip/lib/foundation.js", | |
"start": 0, | |
"end": 13 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "class", | |
"name": "MDCChipFoundation", | |
"description": "MDCChipFoundation provides a foundation for all chips.", | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "adapter", | |
"privacy": "private", | |
"type": { | |
"text": "MDCChipAdapter", | |
"references": [ | |
{ | |
"name": "MDCChipAdapter", | |
"package": "@material/web", | |
"module": "chips/chip/lib/adapter.js", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "animFrame", | |
"privacy": "private", | |
"type": { | |
"text": "AnimationFrame", | |
"references": [ | |
{ | |
"name": "AnimationFrame", | |
"package": "@material/web", | |
"module": "chips/chip/lib/animationframe.js", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "destroy", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "getElementID", | |
"privacy": "public", | |
"return": { "type": { "text": "string" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "setDisabled", | |
"privacy": "public", | |
"parameters": [ | |
{ "name": "isDisabled", "type": { "text": "boolean" } } | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "isDisabled", | |
"privacy": "public", | |
"return": { "type": { "text": "boolean" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "getActions", | |
"privacy": "public", | |
"return": { | |
"type": { | |
"text": "MDCChipActionType[]", | |
"references": [ | |
{ | |
"name": "MDCChipActionType", | |
"package": "@material/web", | |
"module": "chips/action/lib/constants.js", | |
"start": 0, | |
"end": 17 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "isActionFocusable", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "action", | |
"type": { | |
"text": "MDCChipActionType", | |
"references": [ | |
{ | |
"name": "MDCChipActionType", | |
"package": "@material/web", | |
"module": "chips/action/lib/constants.js", | |
"start": 0, | |
"end": 17 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "boolean" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "isActionSelectable", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "action", | |
"type": { | |
"text": "MDCChipActionType", | |
"references": [ | |
{ | |
"name": "MDCChipActionType", | |
"package": "@material/web", | |
"module": "chips/action/lib/constants.js", | |
"start": 0, | |
"end": 17 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "boolean" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "isActionSelected", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "action", | |
"type": { | |
"text": "MDCChipActionType", | |
"references": [ | |
{ | |
"name": "MDCChipActionType", | |
"package": "@material/web", | |
"module": "chips/action/lib/constants.js", | |
"start": 0, | |
"end": 17 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "boolean" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "setActionFocus", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "action", | |
"type": { | |
"text": "MDCChipActionType", | |
"references": [ | |
{ | |
"name": "MDCChipActionType", | |
"package": "@material/web", | |
"module": "chips/action/lib/constants.js", | |
"start": 0, | |
"end": 17 | |
} | |
] | |
} | |
}, | |
{ | |
"name": "focus", | |
"type": { | |
"text": "MDCChipActionFocusBehavior", | |
"references": [ | |
{ | |
"name": "MDCChipActionFocusBehavior", | |
"package": "@material/web", | |
"module": "chips/action/lib/constants.js", | |
"start": 0, | |
"end": 26 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "setActionSelected", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "action", | |
"type": { | |
"text": "MDCChipActionType", | |
"references": [ | |
{ | |
"name": "MDCChipActionType", | |
"package": "@material/web", | |
"module": "chips/action/lib/constants.js", | |
"start": 0, | |
"end": 17 | |
} | |
] | |
} | |
}, | |
{ "name": "isSelected", "type": { "text": "boolean" } } | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "startAnimation", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "animation", | |
"type": { | |
"text": "MDCChipAnimation", | |
"references": [ | |
{ | |
"name": "MDCChipAnimation", | |
"package": "@material/web", | |
"module": "chips/chip/lib/constants.js", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleAnimationEnd", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "event", | |
"type": { | |
"text": "AnimationEvent", | |
"references": [ | |
{ | |
"name": "AnimationEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleTransitionEnd", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleActionInteraction", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "{detail}", | |
"type": { | |
"text": "ActionInteractionEvent", | |
"references": [ | |
{ | |
"name": "ActionInteractionEvent", | |
"package": "@material/web", | |
"module": "chips/chip/lib/types.js", | |
"start": 0, | |
"end": 22 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleActionNavigation", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "{detail}", | |
"type": { | |
"text": "ActionNavigationEvent", | |
"references": [ | |
{ | |
"name": "ActionNavigationEvent", | |
"package": "@material/web", | |
"module": "chips/chip/lib/types.js", | |
"start": 0, | |
"end": 21 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "directionFromKey", | |
"privacy": "private", | |
"parameters": [ | |
{ "name": "key", "type": { "text": "string" } }, | |
{ "name": "isRTL", "type": { "text": "boolean" } } | |
], | |
"return": { | |
"type": { | |
"text": "Direction", | |
"references": [ | |
{ | |
"name": "Direction", | |
"package": "@material/web", | |
"module": "chips/chip/lib/foundation.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "navigateActions", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "nav", | |
"type": { | |
"text": "Navigation", | |
"references": [ | |
{ | |
"name": "Navigation", | |
"package": "@material/web", | |
"module": "chips/chip/lib/foundation.js", | |
"start": 0, | |
"end": 10 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "shouldRemove", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "{source, trigger}", | |
"type": { | |
"text": "MDCChipActionInteractionEventDetail", | |
"references": [ | |
{ | |
"name": "MDCChipActionInteractionEventDetail", | |
"package": "@material/web", | |
"module": "chips/action/lib/types.js", | |
"start": 0, | |
"end": 35 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "boolean" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "getRemovedAnnouncement", | |
"privacy": "private", | |
"return": { "type": { "text": "string" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "getAddedAnnouncement", | |
"privacy": "private", | |
"return": { "type": { "text": "string" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "animateSelection", | |
"privacy": "private", | |
"parameters": [ | |
{ "name": "isSelected", "type": { "text": "boolean" } } | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "resetAnimationStyles", | |
"privacy": "private", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "updateSelectionStyles", | |
"privacy": "private", | |
"parameters": [ | |
{ "name": "isSelected", "type": { "text": "boolean" } } | |
], | |
"return": { "type": { "text": "void" } } | |
} | |
] | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MDCChipFoundation", | |
"declaration": { "name": "MDCChipFoundation" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "chips/chip/lib/link-chip.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "LinkChip", | |
"superclass": { | |
"name": "Chip", | |
"package": "@material/web", | |
"module": "chips/chip/lib/chip.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "href", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "target", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderPrimaryAction", | |
"privacy": "private", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "LinkChip", | |
"declaration": { "name": "LinkChip" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "chips/chip/lib/presentational-chip.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "PresentationalChip", | |
"superclass": { | |
"name": "Chip", | |
"package": "@material/web", | |
"module": "chips/chip/lib/chip.js" | |
}, | |
"members": [ | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderPrimaryAction", | |
"privacy": "private", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "PresentationalChip", | |
"declaration": { "name": "PresentationalChip" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "chips/chip/lib/selectable-chip.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "SelectableChip", | |
"superclass": { | |
"name": "Chip", | |
"package": "@material/web", | |
"module": "chips/chip/lib/chip.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "selected", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getRootClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderPrimaryAction", | |
"privacy": "private", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "SelectableChip", | |
"declaration": { "name": "SelectableChip" } | |
} | |
] | |
}, | |
{ "kind": "javascript-module", "path": "chips/chip/lib/types.js" }, | |
{ "kind": "javascript-module", "path": "chips/chipset/lib/adapter.js" }, | |
{ | |
"kind": "javascript-module", | |
"path": "chips/chipset/lib/constants.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "MDCChipSetAttributes", | |
"description": "MDCChipSetAttributes provides the named constants for attributes used by the\nfoundation.", | |
"type": { | |
"text": "MDCChipSetAttributes", | |
"references": [ | |
{ | |
"name": "MDCChipSetAttributes", | |
"package": "@material/web", | |
"module": "chips/chipset/lib/constants.js", | |
"start": 0, | |
"end": 20 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "variable", | |
"name": "MDCChipSetCssClasses", | |
"description": "MDCChipSetCssClasses provides the named constants for class names.", | |
"type": { | |
"text": "MDCChipSetCssClasses", | |
"references": [ | |
{ | |
"name": "MDCChipSetCssClasses", | |
"package": "@material/web", | |
"module": "chips/chipset/lib/constants.js", | |
"start": 0, | |
"end": 20 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "variable", | |
"name": "MDCChipSetEvents", | |
"description": "MDCChipSetEvents provides the constants for emitted events.", | |
"type": { | |
"text": "MDCChipSetEvents", | |
"references": [ | |
{ | |
"name": "MDCChipSetEvents", | |
"package": "@material/web", | |
"module": "chips/chipset/lib/constants.js", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MDCChipSetAttributes", | |
"declaration": { "name": "MDCChipSetAttributes" } | |
}, | |
{ | |
"kind": "js", | |
"name": "MDCChipSetCssClasses", | |
"declaration": { "name": "MDCChipSetCssClasses" } | |
}, | |
{ | |
"kind": "js", | |
"name": "MDCChipSetEvents", | |
"declaration": { "name": "MDCChipSetEvents" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "chips/chipset/lib/foundation.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "Operator", | |
"type": { | |
"text": "Operator", | |
"references": [ | |
{ | |
"name": "Operator", | |
"package": "@material/web", | |
"module": "chips/chipset/lib/foundation.js", | |
"start": 0, | |
"end": 8 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "class", | |
"name": "MDCChipSetFoundation", | |
"description": "MDCChipSetFoundation provides a foundation for all chips.", | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "adapter", | |
"privacy": "private", | |
"type": { | |
"text": "MDCChipSetAdapter", | |
"references": [ | |
{ | |
"name": "MDCChipSetAdapter", | |
"package": "@material/web", | |
"module": "chips/chipset/lib/adapter.js", | |
"start": 0, | |
"end": 17 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "handleChipAnimation", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "{detail}", | |
"type": { | |
"text": "ChipAnimationEvent", | |
"references": [ | |
{ | |
"name": "ChipAnimationEvent", | |
"package": "@material/web", | |
"module": "chips/chipset/lib/types.js", | |
"start": 0, | |
"end": 18 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleChipInteraction", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "{detail}", | |
"type": { | |
"text": "ChipInteractionEvent", | |
"references": [ | |
{ | |
"name": "ChipInteractionEvent", | |
"package": "@material/web", | |
"module": "chips/chipset/lib/types.js", | |
"start": 0, | |
"end": 20 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleChipNavigation", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "{detail}", | |
"type": { | |
"text": "ChipNavigationEvent", | |
"references": [ | |
{ | |
"name": "ChipNavigationEvent", | |
"package": "@material/web", | |
"module": "chips/chipset/lib/types.js", | |
"start": 0, | |
"end": 19 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "getSelectedChipIndexes", | |
"description": "Returns the unique selected indexes of the chips.", | |
"privacy": "public", | |
"return": { | |
"type": { | |
"text": "ReadonlySet<number>", | |
"references": [ | |
{ | |
"name": "ReadonlySet", | |
"package": "global:", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "setChipSelected", | |
"description": "Sets the selected state of the chip at the given index and action.", | |
"privacy": "public", | |
"parameters": [ | |
{ "name": "index", "type": { "text": "number" } }, | |
{ | |
"name": "action", | |
"type": { | |
"text": "MDCChipActionType", | |
"references": [ | |
{ | |
"name": "MDCChipActionType", | |
"package": "@material/web", | |
"module": "chips/action/lib/constants.js", | |
"start": 0, | |
"end": 17 | |
} | |
] | |
} | |
}, | |
{ "name": "isSelected", "type": { "text": "boolean" } } | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "isChipSelected", | |
"description": "Returns the selected state of the chip at the given index and action.", | |
"privacy": "public", | |
"parameters": [ | |
{ "name": "index", "type": { "text": "number" } }, | |
{ | |
"name": "action", | |
"type": { | |
"text": "MDCChipActionType", | |
"references": [ | |
{ | |
"name": "MDCChipActionType", | |
"package": "@material/web", | |
"module": "chips/action/lib/constants.js", | |
"start": 0, | |
"end": 17 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "boolean" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "removeChip", | |
"description": "Removes the chip at the given index.", | |
"privacy": "public", | |
"parameters": [{ "name": "index", "type": { "text": "number" } }], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "addChip", | |
"privacy": "public", | |
"parameters": [{ "name": "index", "type": { "text": "number" } }], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "focusNextChipFrom", | |
"description": "Increments to find the first focusable chip.", | |
"privacy": "private", | |
"parameters": [ | |
{ "name": "startIndex", "type": { "text": "number" } }, | |
{ | |
"name": "targetAction", | |
"type": { | |
"text": "MDCChipActionType", | |
"references": [ | |
{ | |
"name": "MDCChipActionType", | |
"package": "@material/web", | |
"module": "chips/action/lib/constants.js", | |
"start": 0, | |
"end": 17 | |
} | |
] | |
}, | |
"optional": true | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "focusPrevChipFrom", | |
"description": "Decrements to find the first focusable chip. Takes an optional target\naction that can be used to focus the first matching focusable action.", | |
"privacy": "private", | |
"parameters": [ | |
{ "name": "startIndex", "type": { "text": "number" } }, | |
{ | |
"name": "targetAction", | |
"type": { | |
"text": "MDCChipActionType", | |
"references": [ | |
{ | |
"name": "MDCChipActionType", | |
"package": "@material/web", | |
"module": "chips/action/lib/constants.js", | |
"start": 0, | |
"end": 17 | |
} | |
] | |
}, | |
"optional": true | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "getFocusableAction", | |
"description": "Returns the appropriate focusable action, or null if none exist.", | |
"privacy": "private", | |
"parameters": [ | |
{ "name": "index", "type": { "text": "number" } }, | |
{ | |
"name": "op", | |
"type": { | |
"text": "Operator", | |
"references": [ | |
{ | |
"name": "Operator", | |
"package": "@material/web", | |
"module": "chips/chipset/lib/foundation.js", | |
"start": 0, | |
"end": 8 | |
} | |
] | |
} | |
}, | |
{ | |
"name": "targetAction", | |
"type": { | |
"text": "MDCChipActionType", | |
"references": [ | |
{ | |
"name": "MDCChipActionType", | |
"package": "@material/web", | |
"module": "chips/action/lib/constants.js", | |
"start": 0, | |
"end": 17 | |
} | |
] | |
}, | |
"optional": true | |
} | |
], | |
"return": { | |
"type": { | |
"text": "MDCChipActionType", | |
"references": [ | |
{ | |
"name": "MDCChipActionType", | |
"package": "@material/web", | |
"module": "chips/action/lib/constants.js", | |
"start": 0, | |
"end": 17 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getFirstFocusableAction", | |
"description": "Returs the first focusable action, regardless of type, or null if no\nfocusable actions exist.", | |
"privacy": "private", | |
"parameters": [ | |
{ "name": "index", "type": { "text": "number" } }, | |
{ | |
"name": "actions", | |
"type": { | |
"text": "MDCChipActionType[]", | |
"references": [ | |
{ | |
"name": "MDCChipActionType", | |
"package": "@material/web", | |
"module": "chips/action/lib/constants.js", | |
"start": 0, | |
"end": 17 | |
} | |
] | |
} | |
} | |
], | |
"return": { | |
"type": { | |
"text": "MDCChipActionType", | |
"references": [ | |
{ | |
"name": "MDCChipActionType", | |
"package": "@material/web", | |
"module": "chips/action/lib/constants.js", | |
"start": 0, | |
"end": 17 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getMatchingFocusableAction", | |
"description": "If the actions contain a focusable action that matches the target action,\nreturn that. Otherwise, return the first focusable action, or null if no\nfocusable action exists.", | |
"privacy": "private", | |
"parameters": [ | |
{ "name": "index", "type": { "text": "number" } }, | |
{ | |
"name": "actions", | |
"type": { | |
"text": "MDCChipActionType[]", | |
"references": [ | |
{ | |
"name": "MDCChipActionType", | |
"package": "@material/web", | |
"module": "chips/action/lib/constants.js", | |
"start": 0, | |
"end": 17 | |
} | |
] | |
} | |
}, | |
{ | |
"name": "targetAction", | |
"type": { | |
"text": "MDCChipActionType", | |
"references": [ | |
{ | |
"name": "MDCChipActionType", | |
"package": "@material/web", | |
"module": "chips/action/lib/constants.js", | |
"start": 0, | |
"end": 17 | |
} | |
] | |
} | |
} | |
], | |
"return": { | |
"type": { | |
"text": "MDCChipActionType", | |
"references": [ | |
{ | |
"name": "MDCChipActionType", | |
"package": "@material/web", | |
"module": "chips/action/lib/constants.js", | |
"start": 0, | |
"end": 17 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "focusChip", | |
"privacy": "private", | |
"parameters": [ | |
{ "name": "index", "type": { "text": "number" } }, | |
{ | |
"name": "action", | |
"type": { | |
"text": "MDCChipActionType", | |
"references": [ | |
{ | |
"name": "MDCChipActionType", | |
"package": "@material/web", | |
"module": "chips/action/lib/constants.js", | |
"start": 0, | |
"end": 17 | |
} | |
] | |
} | |
}, | |
{ | |
"name": "focus", | |
"type": { | |
"text": "MDCChipActionFocusBehavior", | |
"references": [ | |
{ | |
"name": "MDCChipActionFocusBehavior", | |
"package": "@material/web", | |
"module": "chips/action/lib/constants.js", | |
"start": 0, | |
"end": 26 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "supportsMultiSelect", | |
"privacy": "private", | |
"return": { "type": { "text": "boolean" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "setSelection", | |
"privacy": "private", | |
"parameters": [ | |
{ "name": "index", "type": { "text": "number" } }, | |
{ | |
"name": "action", | |
"type": { | |
"text": "MDCChipActionType", | |
"references": [ | |
{ | |
"name": "MDCChipActionType", | |
"package": "@material/web", | |
"module": "chips/action/lib/constants.js", | |
"start": 0, | |
"end": 17 | |
} | |
] | |
} | |
}, | |
{ "name": "isSelected", "type": { "text": "boolean" } } | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "removeAfterAnimation", | |
"privacy": "private", | |
"parameters": [ | |
{ "name": "index", "type": { "text": "number" } }, | |
{ "name": "chipID", "type": { "text": "string" } } | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "focusNearestFocusableAction", | |
"description": "Given chip set [A, B, C, D, E, F, G]...\nLet's say we remove chip \"F\". We don't know where the nearest focusable\naction is since any of them could be disabled. The nearest focusable\naction could be E, it could be G, it could even be A. To find it, we\nstart from the source index (5 for \"F\" in this case) and move out\nhorizontally, checking each chip at each index.", | |
"summary": "Find the first focusable action by moving bidirectionally horizontally\nfrom the start index.", | |
"privacy": "private", | |
"parameters": [{ "name": "index", "type": { "text": "number" } }], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "getNearestFocusableAction", | |
"privacy": "private", | |
"parameters": [ | |
{ "name": "decrIndex", "type": { "text": "number" } }, | |
{ "name": "incrIndex", "type": { "text": "number" } }, | |
{ | |
"name": "actionType", | |
"type": { | |
"text": "MDCChipActionType", | |
"references": [ | |
{ | |
"name": "MDCChipActionType", | |
"package": "@material/web", | |
"module": "chips/action/lib/constants.js", | |
"start": 0, | |
"end": 17 | |
} | |
] | |
}, | |
"optional": true | |
} | |
], | |
"return": { | |
"type": { | |
"text": "FocusAction", | |
"references": [ | |
{ | |
"name": "FocusAction", | |
"package": "@material/web", | |
"module": "chips/chipset/lib/foundation.js", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
} | |
} | |
} | |
] | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MDCChipSetFoundation", | |
"declaration": { "name": "MDCChipSetFoundation" } | |
} | |
] | |
}, | |
{ "kind": "javascript-module", "path": "chips/chipset/lib/types.js" }, | |
{ | |
"kind": "javascript-module", | |
"path": "controller/action-controller.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "Phase", | |
"description": "Enumeration to keep track of the lifecycle of a touch event.", | |
"type": { | |
"text": "Phase", | |
"references": [ | |
{ | |
"name": "Phase", | |
"package": "@material/web", | |
"module": "controller/action-controller.js", | |
"start": 0, | |
"end": 5 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "variable", | |
"name": "TOUCH_DELAY_MS", | |
"description": "Delay time from touchstart to when element#beginPress is invoked.", | |
"type": { "text": "number" } | |
}, | |
{ | |
"kind": "variable", | |
"name": "WAIT_FOR_MOUSE_CLICK_MS", | |
"description": "Delay time from beginning to wait for synthetic mouse events till giving up.", | |
"type": { "text": "number" } | |
}, | |
{ | |
"kind": "class", | |
"name": "ActionController", | |
"description": "`beginPress` is a good hook to affect visuals for pressed state, including\nripple.\n\n`endPress` is a good hook for firing events based on user interaction, and\ncleaning up the pressed visual state.\n\nA component using an ActionController need only implement the ActionElement\ninterface and add the ActionController's event listeners to understand user\ninteraction.", | |
"summary": "ActionController normalizes user interaction on components and distills it\ninto calling `beginPress` and `endPress` on the component.", | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "phase", | |
"privacy": "private", | |
"type": { | |
"text": "Phase", | |
"references": [ | |
{ | |
"name": "Phase", | |
"package": "@material/web", | |
"module": "controller/action-controller.js", | |
"start": 0, | |
"end": 5 | |
} | |
] | |
}, | |
"default": "Phase.INACTIVE" | |
}, | |
{ | |
"kind": "field", | |
"name": "touchTimer", | |
"privacy": "private", | |
"type": { "text": "number" }, | |
"default": "null" | |
}, | |
{ | |
"kind": "field", | |
"name": "clickTimer", | |
"privacy": "private", | |
"type": { "text": "number" }, | |
"default": "null" | |
}, | |
{ | |
"kind": "field", | |
"name": "lastPositionEvent", | |
"privacy": "private", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
}, | |
"default": "null" | |
}, | |
{ | |
"kind": "field", | |
"name": "pressed", | |
"privacy": "private", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "checkBoundsAfterContextMenu", | |
"privacy": "private", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "pointerDown", | |
"description": "Pointer down event handler.", | |
"privacy": "public", | |
"type": { | |
"text": "(e: PointerEvent) => void", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 4, | |
"end": 16 | |
} | |
] | |
}, | |
"default": "(e: PointerEvent) => {\n if (!this.shouldRespondToEvent(e) || this.phase !== Phase.INACTIVE) {\n return;\n }\n if (this.isTouch(e)) {\n // after a longpress contextmenu event, an extra `pointerdown` can be\n // dispatched to the pressed element. Check that the down is within\n // bounds of the element in this case.\n if (this.checkBoundsAfterContextMenu && !this.inBounds(e)) {\n return;\n }\n this.checkBoundsAfterContextMenu = false;\n this.lastPositionEvent = e;\n this.setPhase(Phase.TOUCH_DELAY);\n this.touchTimer = setTimeout(() => {\n this.touchDelayFinished();\n }, TOUCH_DELAY_MS);\n } else {\n const leftButtonPressed = e.button === 0;\n if (!leftButtonPressed ||\n (this.ignoreClicksWithModifiers && this.eventHasModifiers(e))) {\n return;\n }\n this.setPhase(Phase.WAITING_FOR_MOUSE_CLICK);\n this.beginPress(e);\n }\n }" | |
}, | |
{ | |
"kind": "field", | |
"name": "pointerUp", | |
"description": "Pointer up event handler.", | |
"privacy": "public", | |
"type": { | |
"text": "(e: PointerEvent) => void", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 4, | |
"end": 16 | |
} | |
] | |
}, | |
"default": "(e: PointerEvent) => {\n if (!this.isTouch(e) || !this.shouldRespondToEvent(e)) {\n return;\n }\n if (this.phase === Phase.HOLDING) {\n this.waitForClick();\n } else if (this.phase === Phase.TOUCH_DELAY) {\n this.setPhase(Phase.RELEASING);\n this.beginPress();\n this.waitForClick();\n }\n }" | |
}, | |
{ | |
"kind": "field", | |
"name": "click", | |
"description": "Click event handler.", | |
"privacy": "public", | |
"type": { | |
"text": "(e: MouseEvent) => void", | |
"references": [ | |
{ | |
"name": "MouseEvent", | |
"package": "global:", | |
"start": 4, | |
"end": 14 | |
} | |
] | |
}, | |
"default": "(e: MouseEvent) => {\n if (this.disabled ||\n (this.ignoreClicksWithModifiers && this.eventHasModifiers(e))) {\n return;\n }\n if (this.phase === Phase.WAITING_FOR_MOUSE_CLICK) {\n this.endPress();\n this.setPhase(Phase.INACTIVE);\n return;\n }\n\n // keyboard synthesized click event\n if (this.phase === Phase.INACTIVE && !this.pressed) {\n this.press();\n }\n }" | |
}, | |
{ | |
"kind": "field", | |
"name": "pointerLeave", | |
"description": "Pointer leave event handler.", | |
"privacy": "public", | |
"type": { | |
"text": "(e: PointerEvent) => void", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 4, | |
"end": 16 | |
} | |
] | |
}, | |
"default": "(e: PointerEvent) => {\n // cancel a held press that moves outside the element\n if (this.shouldRespondToEvent(e) && !this.isTouch(e) && this.pressed) {\n this.cancelPress();\n }\n }" | |
}, | |
{ | |
"kind": "field", | |
"name": "pointerCancel", | |
"description": "Pointer cancel event handler.", | |
"privacy": "public", | |
"type": { | |
"text": "(e: PointerEvent) => void", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 4, | |
"end": 16 | |
} | |
] | |
}, | |
"default": "(e: PointerEvent) => {\n if (this.shouldRespondToEvent(e)) {\n this.cancelPress();\n }\n }" | |
}, | |
{ | |
"kind": "field", | |
"name": "contextMenu", | |
"description": "Contextmenu event handler.", | |
"privacy": "public", | |
"type": { "text": "() => void" }, | |
"default": "() => {\n if (!this.disabled) {\n this.checkBoundsAfterContextMenu = true;\n this.cancelPress();\n }\n }" | |
}, | |
{ | |
"kind": "method", | |
"name": "setPhase", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "newPhase", | |
"type": { | |
"text": "Phase", | |
"references": [ | |
{ | |
"name": "Phase", | |
"package": "@material/web", | |
"module": "controller/action-controller.js", | |
"start": 0, | |
"end": 5 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "press", | |
"description": "Calls beginPress and then endPress. Allows us to programmatically click\non the element.", | |
"privacy": "private", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "beginPress", | |
"description": "Call `beginPress` on element with triggering event, if applicable.", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "positionEvent", | |
"type": { | |
"text": "Event", | |
"references": [ | |
{ | |
"name": "Event", | |
"package": "global:", | |
"start": 0, | |
"end": 5 | |
} | |
] | |
}, | |
"default": "this.lastPositionEvent", | |
"optional": true | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "endPress", | |
"description": "Call `endPress` on element, and clean up timers.", | |
"privacy": "private", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "cleanup", | |
"privacy": "private", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "cancelPress", | |
"description": "Call `endPress` with cancelled state on element, and cleanup timers.", | |
"privacy": "private", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "isTouch", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "boolean" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "touchDelayFinished", | |
"privacy": "private", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "waitForClick", | |
"privacy": "private", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "shouldRespondToEvent", | |
"description": "Check if event should trigger actions on the element.", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "boolean" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "inBounds", | |
"description": "This is only needed for the \"stuck\" contextmenu longpress on Chrome.", | |
"summary": "Check if the event is within the bounds of the element.", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "ev", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "boolean" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "eventHasModifiers", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "MouseEvent", | |
"references": [ | |
{ | |
"name": "MouseEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 10 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "boolean" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "hostDisconnected", | |
"description": "Cancel interactions if the element is removed from the DOM.", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "hostUpdated", | |
"description": "If the element becomes disabled, cancel interactions.", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
} | |
] | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "TOUCH_DELAY_MS", | |
"declaration": { "name": "TOUCH_DELAY_MS" } | |
}, | |
{ | |
"kind": "js", | |
"name": "WAIT_FOR_MOUSE_CLICK_MS", | |
"declaration": { "name": "WAIT_FOR_MOUSE_CLICK_MS" } | |
}, | |
{ | |
"kind": "js", | |
"name": "ActionController", | |
"declaration": { "name": "ActionController" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "controller/events.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "isSquelchingEvents", | |
"type": { "text": "boolean" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "controller/form-associated.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "FormAssociatedElement", | |
"type": { | |
"text": "{ new (): FormAssociatedElement; prototype: FormAssociatedElement; readonly formAssociated?: boolean; }", | |
"references": [ | |
{ | |
"name": "FormAssociatedElement", | |
"package": "@material/web", | |
"module": "controller/form-associated.js", | |
"start": 10, | |
"end": 31 | |
}, | |
{ | |
"name": "FormAssociatedElement", | |
"package": "@material/web", | |
"module": "controller/form-associated.js", | |
"start": 44, | |
"end": 65 | |
} | |
] | |
} | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "controller/form-controller.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "getFormValue", | |
"description": "A unique symbol key for `FormController` elements to implement their\n`getFormValue()` function.", | |
"type": { "text": "unique symbol" } | |
}, | |
{ | |
"kind": "class", | |
"name": "FormController", | |
"description": "Elements should also set `static formAssociated = true` which\nprovides platform support for forms. When an element is form associated,\nit can be activated via clicks on associated label elements. It is the\nresponsibility of the element to process this click and perform any necessary\nactivation tasks, for example focusing and clicking on an internal element.", | |
"summary": "A `ReactiveController` that adds `<form>` support to an element.", | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "form", | |
"privacy": "private", | |
"type": { | |
"text": "HTMLFormElement", | |
"references": [ | |
{ | |
"name": "HTMLFormElement", | |
"package": "global:", | |
"start": 0, | |
"end": 15 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "hostConnected", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "hostDisconnected", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "formDataListener", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "event", | |
"type": { | |
"text": "FormDataEvent", | |
"references": [ | |
{ | |
"name": "FormDataEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 13 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
} | |
] | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "getFormValue", | |
"declaration": { "name": "getFormValue" } | |
}, | |
{ | |
"kind": "js", | |
"name": "FormController", | |
"declaration": { "name": "FormController" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "controller/foundation.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "Foundation", | |
"description": "Legacy stateful foundation class for components.", | |
"members": [ | |
{ | |
"kind": "method", | |
"name": "init", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
} | |
] | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "Foundation", | |
"declaration": { "name": "Foundation" } | |
} | |
] | |
}, | |
{ "kind": "javascript-module", "path": "controller/is-rtl.js" }, | |
{ | |
"kind": "javascript-module", | |
"path": "controller/observer-foundation.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "ObserverFoundation", | |
"description": "Legacy observer foundation class for components.", | |
"superclass": { | |
"name": "Foundation", | |
"package": "@material/web", | |
"module": "controller/foundation.js" | |
}, | |
"members": [ | |
{ | |
"kind": "method", | |
"name": "observe", | |
"description": "Observe a target's properties for changes using the provided map of\nproperty names and observer functions.", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "target", | |
"description": "- The target to observe.", | |
"type": { | |
"text": "T", | |
"references": [ | |
{ | |
"name": "T", | |
"package": "@material/web", | |
"module": "controller/observer-foundation.js", | |
"start": 0, | |
"end": 1 | |
} | |
] | |
} | |
}, | |
{ | |
"name": "observers", | |
"description": "- An object whose keys are target properties and values\nare observer functions that are called when the associated property\nchanges.", | |
"type": { | |
"text": "ObserverRecord<T, this>", | |
"references": [ | |
{ | |
"name": "ObserverRecord", | |
"package": "@material/web", | |
"module": "controller/observer.js", | |
"start": 0, | |
"end": 14 | |
}, | |
{ | |
"name": "T", | |
"package": "@material/web", | |
"module": "controller/observer-foundation.js", | |
"start": 15, | |
"end": 16 | |
} | |
] | |
} | |
} | |
], | |
"return": { | |
"type": { "text": "() => void" }, | |
"description": "A cleanup function that can be called to unobserve the\ntarget." | |
} | |
} | |
] | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "ObserverFoundation", | |
"declaration": { "name": "ObserverFoundation" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "controller/observer.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "isTargetObservers", | |
"type": { "text": "unique symbol" } | |
}, | |
{ | |
"kind": "variable", | |
"name": "isEnabled", | |
"type": { "text": "unique symbol" } | |
}, | |
{ | |
"kind": "variable", | |
"name": "getObservers", | |
"type": { "text": "unique symbol" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "controller/shim-label-activation.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "SUPPORTS_FACE_LABEL", | |
"description": "Returns true if labeling is supported for form associated custom elemeents.\nChrome and Firefox currently do and Safari support appears to be in progress,\nsee https://bugs.webkit.org/show_bug.cgi?id=197960.", | |
"type": { "text": "boolean" } | |
}, | |
{ | |
"kind": "variable", | |
"name": "implicitLabelReactive", | |
"type": { | |
"text": "Set<string>", | |
"references": [ | |
{ "name": "Set", "package": "global:", "start": 0, "end": 3 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "SUPPORTS_FACE_LABEL", | |
"declaration": { "name": "SUPPORTS_FACE_LABEL" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "controller/string-converter.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "stringConverter", | |
"type": { | |
"text": "{ fromAttribute(value: string): string; toAttribute(value: string): string; }" | |
} | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "stringConverter", | |
"declaration": { "name": "stringConverter" } | |
} | |
] | |
}, | |
{ "kind": "javascript-module", "path": "decorators/aria-property.js" }, | |
{ "kind": "javascript-module", "path": "decorators/bound.js" }, | |
{ | |
"kind": "javascript-module", | |
"path": "elevation/elevation.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdElevation", | |
"description": "Elevation is the relative distance between two surfaces along the z-axis.", | |
"summary": "The `<md-elevation>` custom element with default styles.", | |
"superclass": { | |
"name": "Elevation", | |
"package": "@material/web", | |
"module": "elevation/lib/elevation.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[styles]" | |
} | |
], | |
"tagName": "md-elevation", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdElevation", | |
"declaration": { "name": "MdElevation" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-elevation", | |
"declaration": { "name": "MdElevation" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "elevation/lib/elevation-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "elevation/lib/elevation.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "Elevation", | |
"description": "A component for elevation.", | |
"superclass": { "name": "LitElement", "package": "lit" }, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "shadow", | |
"description": "Whether or not the elevation level should display a shadow.", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "surface", | |
"description": "Whether or not the elevation level should display a surface tint color.", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "public", | |
"return": { | |
"type": { | |
"text": "TemplateResult<1>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit-html", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "Elevation", | |
"declaration": { "name": "Elevation" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "elevationold/lib/elevation-overlay-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "fab/fab-extended.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdFabExtended", | |
"superclass": { | |
"name": "FabExtended", | |
"package": "@material/web", | |
"module": "fab/lib/fab-extended.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[overlayStyles, sharedStyles, extendedStyles]" | |
}, | |
{ | |
"kind": "method", | |
"name": "renderIcon", | |
"privacy": "protected", | |
"parameters": [{ "name": "icon", "type": { "text": "string" } }], | |
"return": { | |
"type": { | |
"text": "string | TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 9, | |
"end": 23 | |
} | |
] | |
} | |
} | |
} | |
], | |
"tagName": "md-fab-extended", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdFabExtended", | |
"declaration": { "name": "MdFabExtended" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-fab-extended", | |
"declaration": { "name": "MdFabExtended" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "fab/fab.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdFab", | |
"superclass": { | |
"name": "Fab", | |
"package": "@material/web", | |
"module": "fab/lib/fab.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[overlayStyles, sharedStyles, fabStyles]" | |
}, | |
{ | |
"kind": "method", | |
"name": "renderIcon", | |
"privacy": "protected", | |
"parameters": [{ "name": "icon", "type": { "text": "string" } }], | |
"return": { | |
"type": { | |
"text": "string | TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 9, | |
"end": 23 | |
} | |
] | |
} | |
} | |
} | |
], | |
"tagName": "md-fab", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "MdFab", "declaration": { "name": "MdFab" } }, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-fab", | |
"declaration": { "name": "MdFab" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "fab/lib/fab-extended-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "fab/lib/fab-extended.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "FabExtended", | |
"superclass": { | |
"name": "FabShared", | |
"package": "@material/web", | |
"module": "fab/lib/fab-shared.js" | |
}, | |
"members": [ | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderIcon", | |
"privacy": "protected", | |
"parameters": [{ "name": "icon", "type": { "text": "string" } }], | |
"return": { | |
"type": { | |
"text": "string | TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 9, | |
"end": 23 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderLabel", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "FabExtended", | |
"declaration": { "name": "FabExtended" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "fab/lib/fab-shared-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "fab/lib/fab-shared.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "FabShared", | |
"superclass": { | |
"name": "ActionElement", | |
"package": "@material/web", | |
"module": "actionelement/action-element.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "shadowRootOptions", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "ShadowRootInit", | |
"references": [ | |
{ | |
"name": "ShadowRootInit", | |
"package": "global:", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
}, | |
"default": "{mode: 'open', delegatesFocus: true}" | |
}, | |
{ | |
"kind": "field", | |
"name": "disabled", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "icon", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "label", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "lowered", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "reducedTouchTarget", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "ripple", | |
"privacy": "public", | |
"type": { | |
"text": "MdRipple", | |
"references": [ | |
{ | |
"name": "MdRipple", | |
"package": "@material/web", | |
"module": "ripple/ripple.js", | |
"start": 0, | |
"end": 8 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "showFocusRing", | |
"privacy": "protected", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderIcon", | |
"privacy": "protected", | |
"parameters": [{ "name": "icon", "type": { "text": "string" } }], | |
"return": { | |
"type": { | |
"text": "string | TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 9, | |
"end": 23 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderTouchTarget", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderLabel", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "string | TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 9, | |
"end": 23 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderElevation", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderRipple", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderFocusRing", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "beginPress", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "{positionEvent}", | |
"type": { | |
"text": "BeginPressConfig", | |
"references": [ | |
{ | |
"name": "BeginPressConfig", | |
"package": "@material/web", | |
"module": "actionelement/action-element.js", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "endPress", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "options", | |
"type": { | |
"text": "EndPressConfig", | |
"references": [ | |
{ | |
"name": "EndPressConfig", | |
"package": "@material/web", | |
"module": "actionelement/action-element.js", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handlePointerDown", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handlePointerEnter", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handlePointerLeave", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleFocus", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleBlur", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "FabShared", | |
"declaration": { "name": "FabShared" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "fab/lib/fab-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "fab/lib/fab.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "Fab", | |
"superclass": { | |
"name": "FabShared", | |
"package": "@material/web", | |
"module": "fab/lib/fab-shared.js" | |
}, | |
"members": [ | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderIcon", | |
"privacy": "protected", | |
"parameters": [{ "name": "icon", "type": { "text": "string" } }], | |
"return": { | |
"type": { | |
"text": "string | TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 9, | |
"end": 23 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "Fab", "declaration": { "name": "Fab" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "field/filled-field.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdFilledField", | |
"superclass": { | |
"name": "FilledField", | |
"package": "@material/web", | |
"module": "field/lib/filled-field.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[sharedStyles, filledStyles]" | |
} | |
], | |
"tagName": "md-filled-field", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdFilledField", | |
"declaration": { "name": "MdFilledField" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-filled-field", | |
"declaration": { "name": "MdFilledField" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "field/outlined-field.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdOutlinedField", | |
"superclass": { | |
"name": "OutlinedField", | |
"package": "@material/web", | |
"module": "field/lib/outlined-field.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[sharedStyles, outlinedStyles]" | |
} | |
], | |
"tagName": "md-outlined-field", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdOutlinedField", | |
"declaration": { "name": "MdOutlinedField" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-outlined-field", | |
"declaration": { "name": "MdOutlinedField" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "field/lib/field.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "Field", | |
"superclass": { "name": "LitElement", "package": "lit" }, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "disabled", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "error", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "focused", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "label", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "populated", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "required", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "hasStart", | |
"description": "Whether or not the field has leading content.", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "hasEnd", | |
"description": "Whether or not the field has trailing content.", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "isAnimating", | |
"privacy": "protected", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "labelAnimationSignal", | |
"privacy": "protected", | |
"type": { | |
"text": "AnimationSignal", | |
"references": [ | |
{ | |
"name": "AnimationSignal", | |
"package": "@material/web", | |
"module": "motion/animation.js", | |
"start": 0, | |
"end": 15 | |
} | |
] | |
}, | |
"default": "createAnimationSignal()" | |
}, | |
{ | |
"kind": "field", | |
"name": "floatingLabelEl", | |
"privacy": "protected", | |
"type": { | |
"text": "Promise<HTMLElement>", | |
"references": [ | |
{ | |
"name": "Promise", | |
"package": "global:", | |
"start": 0, | |
"end": 7 | |
}, | |
{ | |
"name": "HTMLElement", | |
"package": "global:", | |
"start": 8, | |
"end": 19 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "restingLabelEl", | |
"privacy": "protected", | |
"type": { | |
"text": "Promise<HTMLElement>", | |
"references": [ | |
{ | |
"name": "Promise", | |
"package": "global:", | |
"start": 0, | |
"end": 7 | |
}, | |
{ | |
"name": "HTMLElement", | |
"package": "global:", | |
"start": 8, | |
"end": 19 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "public", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderContainer", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderContainerContents", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderMiddleContents", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderFloatingLabel", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderRestingLabel", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderLabelText", | |
"privacy": "protected", | |
"return": { "type": { "text": "string" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "renderSupportingText", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "update", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "props", | |
"type": { | |
"text": "PropertyValueMap<Field>", | |
"references": [ | |
{ | |
"name": "PropertyValueMap", | |
"package": "lit", | |
"start": 0, | |
"end": 16 | |
}, | |
{ | |
"name": "Field", | |
"package": "@material/web", | |
"module": "field/lib/field.js", | |
"start": 17, | |
"end": 22 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "animateLabelIfNeeded", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "{wasFocused, wasPopulated}", | |
"type": { | |
"text": "{ wasFocused?: boolean; wasPopulated?: boolean; }" | |
} | |
} | |
], | |
"return": { | |
"type": { | |
"text": "Promise<void>", | |
"references": [ | |
{ | |
"name": "Promise", | |
"package": "global:", | |
"start": 0, | |
"end": 7 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getLabelKeyframes", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "Promise<{ transform: string; }[]>", | |
"references": [ | |
{ | |
"name": "Promise", | |
"package": "global:", | |
"start": 0, | |
"end": 7 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "Field", "declaration": { "name": "Field" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "field/lib/filled-field.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "FilledField", | |
"superclass": { | |
"name": "Field", | |
"package": "@material/web", | |
"module": "field/lib/field.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "strokeTransformOrigin", | |
"privacy": "protected", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderContainer", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderContainerContents", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderMiddleContents", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "handleClick", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "event", | |
"type": { | |
"text": "MouseEvent | TouchEvent", | |
"references": [ | |
{ | |
"name": "MouseEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 10 | |
}, | |
{ | |
"name": "TouchEvent", | |
"package": "global:", | |
"start": 13, | |
"end": 23 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "update", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "props", | |
"type": { | |
"text": "PropertyValues<this>", | |
"references": [ | |
{ | |
"name": "PropertyValues", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "updateStrokeTransformOrigin", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "event", | |
"type": { | |
"text": "MouseEvent | TouchEvent", | |
"references": [ | |
{ | |
"name": "MouseEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 10 | |
}, | |
{ | |
"name": "TouchEvent", | |
"package": "global:", | |
"start": 13, | |
"end": 23 | |
} | |
] | |
}, | |
"optional": true | |
} | |
], | |
"return": { | |
"type": { | |
"text": "Promise<void>", | |
"references": [ | |
{ | |
"name": "Promise", | |
"package": "global:", | |
"start": 0, | |
"end": 7 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "FilledField", | |
"declaration": { "name": "FilledField" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "field/lib/filled-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "field/lib/outlined-field.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "OutlinedField", | |
"superclass": { | |
"name": "Field", | |
"package": "@material/web", | |
"module": "field/lib/field.js" | |
}, | |
"members": [ | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderContainerContents", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderOutline", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderMiddleContents", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "OutlinedField", | |
"declaration": { "name": "OutlinedField" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "field/lib/outlined-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "field/lib/shared-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "focus/focus-ring.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdFocusRing", | |
"superclass": { | |
"name": "FocusRing", | |
"package": "@material/web", | |
"module": "focus/lib/focus-ring.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[styles]" | |
} | |
], | |
"tagName": "md-focus-ring", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdFocusRing", | |
"declaration": { "name": "MdFocusRing" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-focus-ring", | |
"declaration": { "name": "MdFocusRing" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "focus/strong-focus.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "FocusGlobal", | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "visible", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "method", | |
"name": "setVisible", | |
"privacy": "public", | |
"parameters": [ | |
{ "name": "visible", "type": { "text": "boolean" } } | |
], | |
"return": { "type": { "text": "void" } } | |
} | |
] | |
}, | |
{ | |
"kind": "variable", | |
"name": "focusObject", | |
"description": "This object can be overwritten by the `setup()` function to use a different\nfocus coordination object.", | |
"type": { | |
"text": "StrongFocus", | |
"references": [ | |
{ | |
"name": "StrongFocus", | |
"package": "@material/web", | |
"module": "focus/strong-focus.js", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "variable", | |
"name": "KEYBOARD_NAVIGATION_KEYS", | |
"description": "Set of keyboard event codes that correspond to keyboard navigation", | |
"type": { | |
"text": "Set<string>", | |
"references": [ | |
{ "name": "Set", "package": "global:", "start": 0, "end": 3 } | |
] | |
} | |
}, | |
{ | |
"kind": "variable", | |
"name": "alwaysStrong", | |
"description": "Defaults to false, controlled by `setForceStrongFocus`", | |
"summary": "Setting for always showing strong focus", | |
"type": { "text": "boolean" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "focus/lib/focus-ring-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "focus/lib/focus-ring.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "FocusRing", | |
"description": "An accessible, themable ring designed to be shown on focus-visible.\nFocus ring is designed to be controlled by the `strong-focus` module in the\nsame package.\n\nIn most cases, `visible` should be set to\n`shouldShowStrongFocus()` on `focus` and `pointerdown` (see `pointerPress()`\ndocumentation in the `strong-focus` module), and `false` on `blur`.", | |
"summary": "An accessible, themable ring designed to be shown on\n`:focus-visible`.", | |
"superclass": { "name": "LitElement", "package": "lit" }, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "visible", | |
"description": "Makes the focus ring visible.", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "FocusRing", | |
"declaration": { "name": "FocusRing" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "formfield/formfield.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdFormfield", | |
"superclass": { | |
"name": "Formfield", | |
"package": "@material/web", | |
"module": "formfield/lib/formfield.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[formfieldStyles]" | |
} | |
], | |
"tagName": "md-formfield", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdFormfield", | |
"declaration": { "name": "MdFormfield" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-formfield", | |
"declaration": { "name": "MdFormfield" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "formfield/lib/formfield-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "formfield/lib/formfield.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "Formfield", | |
"superclass": { "name": "LitElement", "package": "lit" }, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "alignEnd", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "spaceBetween", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "label", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "inputId", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "disabled", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "slottedInputs", | |
"privacy": "protected", | |
"type": { | |
"text": "HTMLElement[]", | |
"references": [ | |
{ | |
"name": "HTMLElement", | |
"package": "global:", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "labelClick", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "Formfield", | |
"declaration": { "name": "Formfield" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "icon/icon.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdIcon", | |
"superclass": { | |
"name": "Icon", | |
"package": "@material/web", | |
"module": "icon/lib/icon.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[styles]" | |
} | |
], | |
"tagName": "md-icon", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "MdIcon", "declaration": { "name": "MdIcon" } }, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-icon", | |
"declaration": { "name": "MdIcon" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "icon/lib/icon-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "icon/lib/icon.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "Icon", | |
"superclass": { "name": "LitElement", "package": "lit" }, | |
"members": [ | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "Icon", "declaration": { "name": "Icon" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "iconbutton/filled-icon-button-toggle.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdFilledIconButtonToggle", | |
"description": "__Emphasis:__ Low emphasis – For optional or supplementary actions with the\nleast amount of prominence.\n\n__Rationale:__ The most compact and unobtrusive type of button, icon buttons\nare used for optional supplementary actions such as \"Bookmark\" or \"Star.\"\n\n__Example usages:__\n- Add to Favorites\n- Print", | |
"summary": "Icon buttons help people take supplementary actions with a single\ntap. This variant can toggle between icons.", | |
"superclass": { | |
"name": "IconButtonToggle", | |
"package": "@material/web", | |
"module": "iconbutton/lib/icon-button-toggle.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[sharedStyles, styles]" | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
} | |
], | |
"tagName": "md-filled-icon-button-toggle", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdFilledIconButtonToggle", | |
"declaration": { "name": "MdFilledIconButtonToggle" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-filled-icon-button-toggle", | |
"declaration": { "name": "MdFilledIconButtonToggle" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "iconbutton/filled-icon-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdFilledIconButton", | |
"description": "__Emphasis:__ Low emphasis – For optional or supplementary actions with the\nleast amount of prominence.\n\n__Rationale:__ The most compact and unobtrusive type of button, icon buttons\nare used for optional supplementary actions such as \"Bookmark\" or \"Star.\"\n\n__Example usages:__\n- Add to Favorites\n- Print", | |
"summary": "Icon buttons help people take supplementary actions with a single\ntap.", | |
"superclass": { | |
"name": "IconButton", | |
"package": "@material/web", | |
"module": "iconbutton/lib/icon-button.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[sharedStyles, styles]" | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
} | |
], | |
"tagName": "md-filled-icon-button", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdFilledIconButton", | |
"declaration": { "name": "MdFilledIconButton" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-filled-icon-button", | |
"declaration": { "name": "MdFilledIconButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "iconbutton/filled-link-icon-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdFilledLinkIconButton", | |
"description": "__Emphasis:__ Low emphasis – For optional or supplementary actions with the\nleast amount of prominence.\n\n__Rationale:__ The most compact and unobtrusive type of button, icon buttons\nare used for optional supplementary actions such as \"Bookmark\" or \"Star.\"\n\n__Example usages:__\n- Add to Favorites\n- Print", | |
"summary": "Icon buttons help people take supplementary actions with a single\ntap. This is a linkable variant.", | |
"superclass": { | |
"name": "LinkIconButton", | |
"package": "@material/web", | |
"module": "iconbutton/lib/link-icon-button.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[sharedStyles, styles]" | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
} | |
], | |
"tagName": "md-filled-link-icon-button", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdFilledLinkIconButton", | |
"declaration": { "name": "MdFilledLinkIconButton" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-filled-link-icon-button", | |
"declaration": { "name": "MdFilledLinkIconButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "iconbutton/filled-tonal-icon-button-toggle.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdFilledTonalIconButtonToggle", | |
"description": "__Emphasis:__ Low emphasis – For optional or supplementary actions with the\nleast amount of prominence.\n\n__Rationale:__ The most compact and unobtrusive type of button, icon buttons\nare used for optional supplementary actions such as \"Bookmark\" or \"Star.\"\n\n__Example usages:__\n- Add to Favorites\n- Print", | |
"summary": "Icon buttons help people take supplementary actions with a single\ntap. This variant can toggle between icons.", | |
"superclass": { | |
"name": "IconButtonToggle", | |
"package": "@material/web", | |
"module": "iconbutton/lib/icon-button-toggle.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[sharedStyles, styles]" | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
} | |
], | |
"tagName": "md-filled-tonal-icon-button-toggle", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdFilledTonalIconButtonToggle", | |
"declaration": { "name": "MdFilledTonalIconButtonToggle" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-filled-tonal-icon-button-toggle", | |
"declaration": { "name": "MdFilledTonalIconButtonToggle" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "iconbutton/filled-tonal-icon-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdFilledTonalIconButton", | |
"description": "__Emphasis:__ Low emphasis – For optional or supplementary actions with the\nleast amount of prominence.\n\n__Rationale:__ The most compact and unobtrusive type of button, icon buttons\nare used for optional supplementary actions such as \"Bookmark\" or \"Star.\"\n\n__Example usages:__\n- Add to Favorites\n- Print", | |
"summary": "Icon buttons help people take supplementary actions with a single\ntap.", | |
"superclass": { | |
"name": "IconButton", | |
"package": "@material/web", | |
"module": "iconbutton/lib/icon-button.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[sharedStyles, styles]" | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
} | |
], | |
"tagName": "md-filled-tonal-icon-button", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdFilledTonalIconButton", | |
"declaration": { "name": "MdFilledTonalIconButton" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-filled-tonal-icon-button", | |
"declaration": { "name": "MdFilledTonalIconButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "iconbutton/filled-tonal-link-icon-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdFilledTonalLinkIconButton", | |
"description": "__Emphasis:__ Low emphasis – For optional or supplementary actions with the\nleast amount of prominence.\n\n__Rationale:__ The most compact and unobtrusive type of button, icon buttons\nare used for optional supplementary actions such as \"Bookmark\" or \"Star.\"\n\n__Example usages:__\n- Add to Favorites\n- Print", | |
"summary": "Icon buttons help people take supplementary actions with a single\ntap. This is a linkable variant.", | |
"superclass": { | |
"name": "LinkIconButton", | |
"package": "@material/web", | |
"module": "iconbutton/lib/link-icon-button.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[sharedStyles, styles]" | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
} | |
], | |
"tagName": "md-filled-tonal-link-icon-button", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdFilledTonalLinkIconButton", | |
"declaration": { "name": "MdFilledTonalLinkIconButton" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-filled-tonal-link-icon-button", | |
"declaration": { "name": "MdFilledTonalLinkIconButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "iconbutton/outlined-icon-button-toggle.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdOutlinedIconButtonToggle", | |
"description": "__Emphasis:__ Low emphasis – For optional or supplementary actions with the\nleast amount of prominence.\n\n__Rationale:__ The most compact and unobtrusive type of button, icon buttons\nare used for optional supplementary actions such as \"Bookmark\" or \"Star.\"\n\n__Example usages:__\n- Add to Favorites\n- Print", | |
"summary": "Icon buttons help people take supplementary actions with a single\ntap. This variant can toggle between icons.", | |
"superclass": { | |
"name": "IconButtonToggle", | |
"package": "@material/web", | |
"module": "iconbutton/lib/icon-button-toggle.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[sharedStyles, styles]" | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
} | |
], | |
"tagName": "md-outlined-icon-button-toggle", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdOutlinedIconButtonToggle", | |
"declaration": { "name": "MdOutlinedIconButtonToggle" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-outlined-icon-button-toggle", | |
"declaration": { "name": "MdOutlinedIconButtonToggle" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "iconbutton/outlined-icon-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdOutlinedIconButton", | |
"description": "__Emphasis:__ Low emphasis – For optional or supplementary actions with the\nleast amount of prominence.\n\n__Rationale:__ The most compact and unobtrusive type of button, icon buttons\nare used for optional supplementary actions such as \"Bookmark\" or \"Star.\"\n\n__Example usages:__\n- Add to Favorites\n- Print", | |
"summary": "Icon buttons help people take supplementary actions with a single\ntap.", | |
"superclass": { | |
"name": "IconButton", | |
"package": "@material/web", | |
"module": "iconbutton/lib/icon-button.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[sharedStyles, styles]" | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
} | |
], | |
"tagName": "md-outlined-icon-button", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdOutlinedIconButton", | |
"declaration": { "name": "MdOutlinedIconButton" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-outlined-icon-button", | |
"declaration": { "name": "MdOutlinedIconButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "iconbutton/outlined-link-icon-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdOutlinedLinkIconButton", | |
"description": "__Emphasis:__ Low emphasis – For optional or supplementary actions with the\nleast amount of prominence.\n\n__Rationale:__ The most compact and unobtrusive type of button, icon buttons\nare used for optional supplementary actions such as \"Bookmark\" or \"Star.\"\n\n__Example usages:__\n- Add to Favorites\n- Print", | |
"summary": "Icon buttons help people take supplementary actions with a single\ntap. This is a linkable variant.", | |
"superclass": { | |
"name": "LinkIconButton", | |
"package": "@material/web", | |
"module": "iconbutton/lib/link-icon-button.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[sharedStyles, styles]" | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
} | |
], | |
"tagName": "md-outlined-link-icon-button", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdOutlinedLinkIconButton", | |
"declaration": { "name": "MdOutlinedLinkIconButton" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-outlined-link-icon-button", | |
"declaration": { "name": "MdOutlinedLinkIconButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "iconbutton/standard-icon-button-toggle.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdStandardIconButtonToggle", | |
"description": "__Emphasis:__ Low emphasis – For optional or supplementary actions with the\nleast amount of prominence.\n\n__Rationale:__ The most compact and unobtrusive type of button, icon buttons\nare used for optional supplementary actions such as \"Bookmark\" or \"Star.\"\n\n__Example usages:__\n- Add to Favorites\n- Print", | |
"summary": "Icon buttons help people take supplementary actions with a single\ntap. This variant can toggle between icons.", | |
"superclass": { | |
"name": "IconButtonToggle", | |
"package": "@material/web", | |
"module": "iconbutton/lib/icon-button-toggle.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[sharedStyles, styles]" | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
} | |
], | |
"tagName": "md-standard-icon-button-toggle", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdStandardIconButtonToggle", | |
"declaration": { "name": "MdStandardIconButtonToggle" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-standard-icon-button-toggle", | |
"declaration": { "name": "MdStandardIconButtonToggle" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "iconbutton/standard-icon-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdStandardIconButton", | |
"description": "__Emphasis:__ Low emphasis – For optional or supplementary actions with the\nleast amount of prominence.\n\n__Rationale:__ The most compact and unobtrusive type of button, icon buttons\nare used for optional supplementary actions such as \"Bookmark\" or \"Star.\"\n\n__Example usages:__\n- Add to Favorites\n- Print", | |
"summary": "Icon buttons help people take supplementary actions with a single\ntap.", | |
"superclass": { | |
"name": "IconButton", | |
"package": "@material/web", | |
"module": "iconbutton/lib/icon-button.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[sharedStyles, styles]" | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
} | |
], | |
"tagName": "md-standard-icon-button", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdStandardIconButton", | |
"declaration": { "name": "MdStandardIconButton" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-standard-icon-button", | |
"declaration": { "name": "MdStandardIconButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "iconbutton/standard-link-icon-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdStandardLinkIconButton", | |
"description": "__Emphasis:__ Low emphasis – For optional or supplementary actions with the\nleast amount of prominence.\n\n__Rationale:__ The most compact and unobtrusive type of button, icon buttons\nare used for optional supplementary actions such as \"Bookmark\" or \"Star.\"\n\n__Example usages:__\n- Add to Favorites\n- Print", | |
"summary": "Icon buttons help people take supplementary actions with a single\ntap. This is a linkable variant.", | |
"superclass": { | |
"name": "LinkIconButton", | |
"package": "@material/web", | |
"module": "iconbutton/lib/link-icon-button.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[sharedStyles, styles]" | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
} | |
], | |
"tagName": "md-standard-link-icon-button", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdStandardLinkIconButton", | |
"declaration": { "name": "MdStandardLinkIconButton" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-standard-link-icon-button", | |
"declaration": { "name": "MdStandardLinkIconButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "iconbutton/lib/filled-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "iconbutton/lib/filled-tonal-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "iconbutton/lib/icon-button-toggle.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "IconButtonToggle", | |
"superclass": { "name": "LitElement", "package": "lit" }, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "ariaLabel", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "disabled", | |
"description": "Disables the icon button and makes it non-interactive.", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "onIcon", | |
"description": "The glyph of the icon to display from the applied icon font when toggle\nbutton is selected or \"on\". See the associated typography tokens for more\ninfo.", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "offIcon", | |
"description": "The glyph of the icon to display from the applied icon font when toggle\nbutton is not selected or \"off\". See the associated typography tokens for\nmore info.", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaLabelOn", | |
"description": "The `aria-label` of the button when the toggle button is selected or \"on\".", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaLabelOff", | |
"description": "The `aria-label` of the button when the toggle button is not selected or\n\"off\".", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "selected", | |
"description": "Sets the toggle button to the \"on\" state and displays the `onIcon`. If\nfalse, sets the toggle button to the \"off\" state and displays the\n`offIcon`.", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "ripple", | |
"privacy": "public", | |
"type": { | |
"text": "Promise<MdRipple>", | |
"references": [ | |
{ | |
"name": "Promise", | |
"package": "global:", | |
"start": 0, | |
"end": 7 | |
}, | |
{ | |
"name": "MdRipple", | |
"package": "@material/web", | |
"module": "ripple/ripple.js", | |
"start": 8, | |
"end": 16 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "showFocusRing", | |
"privacy": "protected", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "showRipple", | |
"privacy": "protected", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "getRipple", | |
"privacy": "protected", | |
"type": { | |
"text": "() => Promise<MdRipple>", | |
"references": [ | |
{ | |
"name": "Promise", | |
"package": "global:", | |
"start": 6, | |
"end": 13 | |
}, | |
{ | |
"name": "MdRipple", | |
"package": "@material/web", | |
"module": "ripple/ripple.js", | |
"start": 14, | |
"end": 22 | |
} | |
] | |
}, | |
"default": "() => {\n this.showRipple = true;\n return this.ripple;\n }" | |
}, | |
{ | |
"kind": "field", | |
"name": "renderRipple", | |
"privacy": "protected", | |
"type": { | |
"text": "() => TemplateResult<1>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 6, | |
"end": 20 | |
} | |
] | |
}, | |
"default": "() => {\n return html`<md-ripple ?disabled=\"${this.disabled}\" unbounded></md-ripple>`;\n }" | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderIcon", | |
"privacy": "protected", | |
"parameters": [{ "name": "icon", "type": { "text": "string" } }], | |
"return": { | |
"type": { | |
"text": "string | TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 9, | |
"end": 23 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderTouchTarget", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderFocusRing", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "handlePointerDown", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleFocus", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleBlur", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleClick", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
} | |
], | |
"customElement": true, | |
"events": [ | |
{ | |
"name": "icon-button-toggle-change", | |
"type": { | |
"text": "CustomEvent<{selected: boolean}>", | |
"references": [ | |
{ | |
"name": "CustomEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
}, | |
"description": "Dispatched whenever `selected` is changed via user click" | |
} | |
] | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "IconButtonToggle", | |
"declaration": { "name": "IconButtonToggle" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "iconbutton/lib/icon-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "IconButton", | |
"superclass": { "name": "LitElement", "package": "lit" }, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "disabled", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "icon", | |
"description": "The glyph of the icon to display from the applied icon font. See the\nassociated typography tokens for more info.", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "flipIconInRtl", | |
"description": "Flips the icon if it is in an RTL context at startup.", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "flipIcon", | |
"privacy": "protected", | |
"type": { "text": "boolean" }, | |
"default": "isRtl(this, this.flipIconInRtl)" | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaLabel", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaHasPopup", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "buttonElement", | |
"privacy": "protected", | |
"type": { | |
"text": "HTMLElement", | |
"references": [ | |
{ | |
"name": "HTMLElement", | |
"package": "global:", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "ripple", | |
"privacy": "protected", | |
"type": { | |
"text": "Promise<MdRipple>", | |
"references": [ | |
{ | |
"name": "Promise", | |
"package": "global:", | |
"start": 0, | |
"end": 7 | |
}, | |
{ | |
"name": "MdRipple", | |
"package": "@material/web", | |
"module": "ripple/ripple.js", | |
"start": 8, | |
"end": 16 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "showFocusRing", | |
"privacy": "protected", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "showRipple", | |
"privacy": "protected", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "getRipple", | |
"privacy": "protected", | |
"type": { | |
"text": "() => Promise<MdRipple>", | |
"references": [ | |
{ | |
"name": "Promise", | |
"package": "global:", | |
"start": 6, | |
"end": 13 | |
}, | |
{ | |
"name": "MdRipple", | |
"package": "@material/web", | |
"module": "ripple/ripple.js", | |
"start": 14, | |
"end": 22 | |
} | |
] | |
}, | |
"default": "() => {\n this.showRipple = true;\n return this.ripple;\n }" | |
}, | |
{ | |
"kind": "field", | |
"name": "renderRipple", | |
"privacy": "protected", | |
"type": { | |
"text": "() => TemplateResult<1>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 6, | |
"end": 20 | |
} | |
] | |
}, | |
"default": "() => {\n return html`<md-ripple ?disabled=\"${this.disabled}\" unbounded></md-ripple>`;\n }" | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderIcon", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderTouchTarget", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderFocusRing", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "connectedCallback", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handlePointerDown", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleFocus", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleBlur", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "IconButton", | |
"declaration": { "name": "IconButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "iconbutton/lib/link-icon-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "LinkIconButton", | |
"superclass": { | |
"name": "IconButton", | |
"package": "@material/web", | |
"module": "iconbutton/lib/icon-button.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "linkHref", | |
"description": "Sets the underlying `HTMLAnchorElement`'s `href` resource attribute.", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "linkTarget", | |
"description": "Sets the underlying `HTMLAnchorElement`'s `target` attribute.", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "disabled", | |
"description": "Link buttons cannot be disabled.", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "method", | |
"name": "willUpdate", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "LinkIconButton", | |
"declaration": { "name": "LinkIconButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "iconbutton/lib/outlined-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "iconbutton/lib/shared-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "iconbutton/lib/standard-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "list/list-divider.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdListDivider", | |
"superclass": { | |
"name": "ListDivider", | |
"package": "@material/web", | |
"module": "list/lib/divider/list-divider.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[styles]" | |
} | |
], | |
"tagName": "md-list-divider", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdListDivider", | |
"declaration": { "name": "MdListDivider" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-list-divider", | |
"declaration": { "name": "MdListDivider" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "list/list-item-avatar.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdListItemAvatar", | |
"superclass": { | |
"name": "ListItemAvatar", | |
"package": "@material/web", | |
"module": "list/lib/avatar/list-item-avatar.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[styles]" | |
} | |
], | |
"tagName": "md-list-item-avatar", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdListItemAvatar", | |
"declaration": { "name": "MdListItemAvatar" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-list-item-avatar", | |
"declaration": { "name": "MdListItemAvatar" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "list/list-item-icon.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdListItemIcon", | |
"superclass": { | |
"name": "ListItemIcon", | |
"package": "@material/web", | |
"module": "list/lib/icon/list-item-icon.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[styles]" | |
} | |
], | |
"tagName": "md-list-item-icon", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdListItemIcon", | |
"declaration": { "name": "MdListItemIcon" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-list-item-icon", | |
"declaration": { "name": "MdListItemIcon" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "list/list-item-image.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdListItemImage", | |
"superclass": { | |
"name": "ListItemImage", | |
"package": "@material/web", | |
"module": "list/lib/image/list-item-image.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[styles]" | |
} | |
], | |
"tagName": "md-list-item-image", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdListItemImage", | |
"declaration": { "name": "MdListItemImage" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-list-item-image", | |
"declaration": { "name": "MdListItemImage" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "list/list-item-video.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdListItemVideo", | |
"superclass": { | |
"name": "ListItemVideo", | |
"package": "@material/web", | |
"module": "list/lib/video/list-item-video.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[styles]" | |
} | |
], | |
"tagName": "md-list-item-video", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdListItemVideo", | |
"declaration": { "name": "MdListItemVideo" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-list-item-video", | |
"declaration": { "name": "MdListItemVideo" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "list/list-item.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdListItem", | |
"superclass": { | |
"name": "ListItem", | |
"package": "@material/web", | |
"module": "list/lib/listitem/list-item.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[styles]" | |
} | |
], | |
"tagName": "md-list-item", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdListItem", | |
"declaration": { "name": "MdListItem" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-list-item", | |
"declaration": { "name": "MdListItem" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "list/list.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdList", | |
"superclass": { | |
"name": "List", | |
"package": "@material/web", | |
"module": "list/lib/list.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[styles]" | |
} | |
], | |
"tagName": "md-list", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "MdList", "declaration": { "name": "MdList" } }, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-list", | |
"declaration": { "name": "MdList" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "list/lib/list-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "list/lib/list.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "NAVIGATABLE_KEYS", | |
"type": { | |
"text": "{ ArrowDown: string; ArrowUp: string; Home: string; End: string; }" | |
} | |
}, | |
{ | |
"kind": "class", | |
"name": "List", | |
"superclass": { "name": "LitElement", "package": "lit" }, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "shadowRootOptions", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "ShadowRootInit", | |
"references": [ | |
{ | |
"name": "ShadowRootInit", | |
"package": "global:", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
}, | |
"default": "{mode: 'open', delegatesFocus: true}" | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaLabel", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaActivedescendant", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "role", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "'list'" | |
}, | |
{ | |
"kind": "field", | |
"name": "listId", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "listTabIndex", | |
"privacy": "public", | |
"type": { "text": "number" }, | |
"default": "0" | |
}, | |
{ | |
"kind": "field", | |
"name": "items", | |
"privacy": "public", | |
"type": { | |
"text": "ListItem[]", | |
"references": [ | |
{ | |
"name": "ListItem", | |
"package": "@material/web", | |
"module": "list/lib/listitem/list-item.js", | |
"start": 0, | |
"end": 8 | |
} | |
] | |
}, | |
"default": "[]" | |
}, | |
{ | |
"kind": "field", | |
"name": "activeListItem", | |
"privacy": "public", | |
"type": { | |
"text": "ListItem", | |
"references": [ | |
{ | |
"name": "ListItem", | |
"package": "@material/web", | |
"module": "list/lib/listitem/list-item.js", | |
"start": 0, | |
"end": 8 | |
} | |
] | |
}, | |
"default": "null" | |
}, | |
{ | |
"kind": "field", | |
"name": "listRoot", | |
"privacy": "public", | |
"type": { | |
"text": "HTMLElement", | |
"references": [ | |
{ | |
"name": "HTMLElement", | |
"package": "global:", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "listItemTagName", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "'md-list-item'" | |
}, | |
{ | |
"kind": "field", | |
"name": "assignedElements", | |
"privacy": "protected", | |
"type": { | |
"text": "HTMLElement[]", | |
"references": [ | |
{ | |
"name": "HTMLElement", | |
"package": "global:", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "firstUpdated", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "changedProperties", | |
"type": { | |
"text": "Map<PropertyKey, unknown> | PropertyValueMap<any>", | |
"references": [ | |
{ | |
"name": "Map", | |
"package": "global:", | |
"start": 0, | |
"end": 3 | |
}, | |
{ | |
"name": "PropertyKey", | |
"package": "global:", | |
"start": 4, | |
"end": 15 | |
}, | |
{ | |
"name": "PropertyValueMap", | |
"package": "lit", | |
"start": 28, | |
"end": 44 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "public", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "handleKeydown", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "event", | |
"type": { | |
"text": "KeyboardEvent", | |
"references": [ | |
{ | |
"name": "KeyboardEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 13 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "activateListItem", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "item", | |
"type": { | |
"text": "ListItem", | |
"references": [ | |
{ | |
"name": "ListItem", | |
"package": "@material/web", | |
"module": "list/lib/listitem/list-item.js", | |
"start": 0, | |
"end": 8 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "deactivateListItem", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "item", | |
"type": { | |
"text": "ListItem", | |
"references": [ | |
{ | |
"name": "ListItem", | |
"package": "@material/web", | |
"module": "list/lib/listitem/list-item.js", | |
"start": 0, | |
"end": 8 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "isListItemActive", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "item", | |
"type": { | |
"text": "ListItem", | |
"references": [ | |
{ | |
"name": "ListItem", | |
"package": "@material/web", | |
"module": "list/lib/listitem/list-item.js", | |
"start": 0, | |
"end": 8 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "boolean" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleAction", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "event", | |
"type": { | |
"text": "CustomEvent<any>", | |
"references": [ | |
{ | |
"name": "CustomEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "activateFirstItem", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "activateLastItem", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "resetActiveListItem", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "focusListRoot", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "updateItems", | |
"description": "Updates `this.items` based on slot elements in the DOM.", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "isListItem", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "element", | |
"type": { | |
"text": "Element", | |
"references": [ | |
{ | |
"name": "Element", | |
"package": "global:", | |
"start": 0, | |
"end": 7 | |
} | |
] | |
} | |
} | |
], | |
"return": { | |
"type": { "text": "boolean" }, | |
"description": "Whether the given element is a list item element." | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getFirstItem", | |
"privacy": "private", | |
"return": { | |
"type": { | |
"text": "ListItem", | |
"references": [ | |
{ | |
"name": "ListItem", | |
"package": "@material/web", | |
"module": "list/lib/listitem/list-item.js", | |
"start": 0, | |
"end": 8 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getLastItem", | |
"privacy": "private", | |
"return": { | |
"type": { | |
"text": "ListItem", | |
"references": [ | |
{ | |
"name": "ListItem", | |
"package": "@material/web", | |
"module": "list/lib/listitem/list-item.js", | |
"start": 0, | |
"end": 8 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getPrevItem", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "item", | |
"type": { | |
"text": "ListItem", | |
"references": [ | |
{ | |
"name": "ListItem", | |
"package": "@material/web", | |
"module": "list/lib/listitem/list-item.js", | |
"start": 0, | |
"end": 8 | |
} | |
] | |
} | |
} | |
], | |
"return": { | |
"type": { | |
"text": "ListItem", | |
"references": [ | |
{ | |
"name": "ListItem", | |
"package": "@material/web", | |
"module": "list/lib/listitem/list-item.js", | |
"start": 0, | |
"end": 8 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getNextItem", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "item", | |
"type": { | |
"text": "ListItem", | |
"references": [ | |
{ | |
"name": "ListItem", | |
"package": "@material/web", | |
"module": "list/lib/listitem/list-item.js", | |
"start": 0, | |
"end": 8 | |
} | |
] | |
} | |
} | |
], | |
"return": { | |
"type": { | |
"text": "ListItem", | |
"references": [ | |
{ | |
"name": "ListItem", | |
"package": "@material/web", | |
"module": "list/lib/listitem/list-item.js", | |
"start": 0, | |
"end": 8 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "List", "declaration": { "name": "List" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "list/lib/avatar/list-item-avatar-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "list/lib/avatar/list-item-avatar.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "ListItemAvatar", | |
"superclass": { "name": "LitElement", "package": "lit" }, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "avatar", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "altText", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "public", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "ListItemAvatar", | |
"declaration": { "name": "ListItemAvatar" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "list/lib/divider/list-divider-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "list/lib/divider/list-divider.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "ListDivider", | |
"superclass": { "name": "LitElement", "package": "lit" }, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "role", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "'separator'" | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "public", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "ListDivider", | |
"declaration": { "name": "ListDivider" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "list/lib/icon/list-item-icon-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "list/lib/icon/list-item-icon.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "ListItemIcon", | |
"superclass": { "name": "LitElement", "package": "lit" }, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "media", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "'icon'" | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "public", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "ListItemIcon", | |
"declaration": { "name": "ListItemIcon" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "list/lib/image/list-item-image-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "list/lib/image/list-item-image.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "ListItemImage", | |
"superclass": { "name": "LitElement", "package": "lit" }, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "media", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "'image'" | |
}, | |
{ | |
"kind": "field", | |
"name": "image", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "altText", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "public", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "ListItemImage", | |
"declaration": { "name": "ListItemImage" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "list/lib/listitem/list-item-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "list/lib/listitem/list-item.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "ListItem", | |
"superclass": { | |
"name": "ActionElement", | |
"package": "@material/web", | |
"module": "actionelement/action-element.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "role", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "'listitem'" | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaSelected", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaChecked", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "itemId", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "supportingText", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "multiLineSupportingText", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "trailingSupportingText", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "disabled", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "itemTabIndex", | |
"privacy": "public", | |
"type": { "text": "number" }, | |
"default": "-1" | |
}, | |
{ | |
"kind": "field", | |
"name": "headline", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "ripple", | |
"privacy": "public", | |
"type": { | |
"text": "MdRipple", | |
"references": [ | |
{ | |
"name": "MdRipple", | |
"package": "@material/web", | |
"module": "ripple/ripple.js", | |
"start": 0, | |
"end": 8 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "listItemRoot", | |
"privacy": "public", | |
"type": { | |
"text": "HTMLElement", | |
"references": [ | |
{ | |
"name": "HTMLElement", | |
"package": "global:", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "showFocusRing", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "public", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderRipple", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderFocusRing", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getAriaRole", | |
"privacy": "protected", | |
"return": { "type": { "text": "string" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderStart", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderBody", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderSupportingText", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderMultiLineSupportingText", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderEnd", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderTrailingSupportingText", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "handleSlotChange", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "beginPress", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "{positionEvent}", | |
"type": { | |
"text": "BeginPressConfig", | |
"references": [ | |
{ | |
"name": "BeginPressConfig", | |
"package": "@material/web", | |
"module": "actionelement/action-element.js", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "endPress", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "{cancelled}", | |
"type": { | |
"text": "EndPressConfig", | |
"references": [ | |
{ | |
"name": "EndPressConfig", | |
"package": "@material/web", | |
"module": "actionelement/action-element.js", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleFocus", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleBlur", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handlePointerDown", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handlePointerEnter", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handlePointerLeave", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleKeyDown", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "KeyboardEvent", | |
"references": [ | |
{ | |
"name": "KeyboardEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 13 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleKeyUp", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "KeyboardEvent", | |
"references": [ | |
{ | |
"name": "KeyboardEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 13 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "activate", | |
"description": "Focuses list item and makes list item focusable via keyboard.", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "isActive", | |
"description": "Returns true if list item is currently focused and is focusable.", | |
"privacy": "public", | |
"return": { "type": { "text": "boolean" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "deactivate", | |
"description": "Removes list item from sequential keyboard navigation.", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "ListItem", | |
"declaration": { "name": "ListItem" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "list/lib/video/list-item-video-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "list/lib/video/list-item-video.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "ListItemVideo", | |
"superclass": { "name": "LitElement", "package": "lit" }, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "media", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "'video'" | |
}, | |
{ | |
"kind": "field", | |
"name": "video", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "altText", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "public", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "ListItemVideo", | |
"declaration": { "name": "ListItemVideo" } | |
} | |
] | |
}, | |
{ "kind": "javascript-module", "path": "localization/localize.js" }, | |
{ | |
"kind": "javascript-module", | |
"path": "menu/menu-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdMenuButton", | |
"superclass": { | |
"name": "MenuButton", | |
"package": "@material/web", | |
"module": "menu/lib/menu-button.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[styles]" | |
} | |
], | |
"tagName": "md-menu-button", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdMenuButton", | |
"declaration": { "name": "MdMenuButton" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-menu-button", | |
"declaration": { "name": "MdMenuButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "menu/menu-item.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdMenuItem", | |
"superclass": { | |
"name": "MenuItem", | |
"package": "@material/web", | |
"module": "menu/lib/menuitem/menu-item.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[styles]" | |
} | |
], | |
"tagName": "md-menu-item", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdMenuItem", | |
"declaration": { "name": "MdMenuItem" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-menu-item", | |
"declaration": { "name": "MdMenuItem" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "menu/menu.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdMenu", | |
"superclass": { | |
"name": "Menu", | |
"package": "@material/web", | |
"module": "menu/lib/menu.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[styles]" | |
} | |
], | |
"tagName": "md-menu", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "MdMenu", "declaration": { "name": "MdMenu" } }, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-menu", | |
"declaration": { "name": "MdMenu" } | |
} | |
] | |
}, | |
{ "kind": "javascript-module", "path": "menu/lib/adapter.js" }, | |
{ | |
"kind": "javascript-module", | |
"path": "menu/lib/constants.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "cssClasses", | |
"type": { | |
"text": "{ MENU_SELECTED_LIST_ITEM: string; MENU_SELECTION_GROUP: string; ROOT: string; }" | |
} | |
}, | |
{ | |
"kind": "variable", | |
"name": "strings", | |
"type": { | |
"text": "{ ARIA_CHECKED_ATTR: string; ARIA_DISABLED_ATTR: string; CHECKBOX_SELECTOR: string; LIST_SELECTOR: string; SELECTED_EVENT: string; SKIP_RESTORE_FOCUS: string; }" | |
} | |
}, | |
{ | |
"kind": "variable", | |
"name": "numbers", | |
"type": { "text": "{ FOCUS_ROOT_INDEX: number; }" } | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "cssClasses", | |
"declaration": { "name": "cssClasses" } | |
}, | |
{ | |
"kind": "js", | |
"name": "strings", | |
"declaration": { "name": "strings" } | |
}, | |
{ | |
"kind": "js", | |
"name": "numbers", | |
"declaration": { "name": "numbers" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "menu/lib/foundation.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "LIST_ITEM_DISABLED_CLASS", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "class", | |
"name": "MDCMenuFoundation", | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "adapter", | |
"privacy": "private", | |
"type": { | |
"text": "MDCMenuAdapter", | |
"references": [ | |
{ | |
"name": "MDCMenuAdapter", | |
"package": "@material/web", | |
"module": "menu/lib/adapter.js", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "closeAnimationEndTimerId", | |
"privacy": "private", | |
"type": { "text": "number" }, | |
"default": "0" | |
}, | |
{ | |
"kind": "field", | |
"name": "selectedIndex", | |
"privacy": "private", | |
"type": { "text": "number" }, | |
"default": "-1" | |
}, | |
{ | |
"kind": "method", | |
"name": "destroy", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleKeydown", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "evt", | |
"type": { | |
"text": "KeyboardEvent", | |
"references": [ | |
{ | |
"name": "KeyboardEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 13 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleItemAction", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "listItem", | |
"type": { | |
"text": "Element", | |
"references": [ | |
{ | |
"name": "Element", | |
"package": "global:", | |
"start": 0, | |
"end": 7 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "getSelectedIndex", | |
"privacy": "public", | |
"return": { | |
"type": { "text": "number" }, | |
"description": "Index of the currently selected list item within the menu." | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "setSelectedIndex", | |
"description": "Selects the list item at `index` within the menu.", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "index", | |
"description": "Index of list item within the menu.", | |
"type": { "text": "number" } | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "setEnabled", | |
"description": "Sets the enabled state to isEnabled for the menu item at the given index.", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "index", | |
"description": "Index of the menu item", | |
"type": { "text": "number" } | |
}, | |
{ | |
"name": "isEnabled", | |
"description": "The desired enabled state of the menu item.", | |
"type": { "text": "boolean" } | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "validatedIndex", | |
"privacy": "private", | |
"parameters": [{ "name": "index", "type": { "text": "number" } }], | |
"return": { "type": { "text": "void" } } | |
} | |
] | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MDCMenuFoundation", | |
"declaration": { "name": "MDCMenuFoundation" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "menu/lib/menu-button-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "menu/lib/menu-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MenuButton", | |
"description": "Menu button component that automatically attaches a slotted menu to the\nslotted button.", | |
"superclass": { "name": "LitElement", "package": "lit" }, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "buttonAssignedElements", | |
"privacy": "protected", | |
"type": { | |
"text": "HTMLElement[]", | |
"references": [ | |
{ | |
"name": "HTMLElement", | |
"package": "global:", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "menuAssignedElements", | |
"privacy": "protected", | |
"type": { | |
"text": "HTMLElement[]", | |
"references": [ | |
{ | |
"name": "HTMLElement", | |
"package": "global:", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<1>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit-html", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "firstUpdated", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "changedProperties", | |
"type": { | |
"text": "Map<PropertyKey, unknown> | PropertyValueMap<any>", | |
"references": [ | |
{ | |
"name": "Map", | |
"package": "global:", | |
"start": 0, | |
"end": 3 | |
}, | |
{ | |
"name": "PropertyKey", | |
"package": "global:", | |
"start": 4, | |
"end": 15 | |
}, | |
{ | |
"name": "PropertyValueMap", | |
"package": "lit", | |
"start": 28, | |
"end": 44 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleButtonKeydown", | |
"description": "If key event is ArrowUp or ArrowDown, opens the menu.", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "event", | |
"type": { | |
"text": "KeyboardEvent", | |
"references": [ | |
{ | |
"name": "KeyboardEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 13 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleButtonClick", | |
"description": "Toggles the menu on button click.", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "event", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MenuButton", | |
"declaration": { "name": "MenuButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "menu/lib/menu-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "menu/lib/menu.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "Menu", | |
"superclass": { "name": "LitElement", "package": "lit" }, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "mdcFoundation", | |
"privacy": "protected", | |
"type": { | |
"text": "MDCMenuFoundation", | |
"references": [ | |
{ | |
"name": "MDCMenuFoundation", | |
"package": "@material/web", | |
"module": "menu/lib/foundation.js", | |
"start": 0, | |
"end": 17 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "listElementInternal", | |
"privacy": "protected", | |
"type": { | |
"text": "List", | |
"references": [ | |
{ | |
"name": "List", | |
"package": "@material/web", | |
"module": "list/lib/list.js", | |
"start": 0, | |
"end": 4 | |
} | |
] | |
}, | |
"default": "null" | |
}, | |
{ | |
"kind": "field", | |
"name": "mdcRoot", | |
"privacy": "public", | |
"type": { | |
"text": "MenuSurface", | |
"references": [ | |
{ | |
"name": "MenuSurface", | |
"package": "@material/web", | |
"module": "menusurface/lib/menu-surface.js", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "slotElement", | |
"privacy": "public", | |
"type": { | |
"text": "HTMLSlotElement", | |
"references": [ | |
{ | |
"name": "HTMLSlotElement", | |
"package": "global:", | |
"start": 0, | |
"end": 15 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "anchor", | |
"privacy": "public", | |
"type": { | |
"text": "HTMLElement", | |
"references": [ | |
{ | |
"name": "HTMLElement", | |
"package": "global:", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
}, | |
"default": "null" | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaLabel", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "open", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "quick", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "corner", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "\"BOTTOM_START\"" | |
}, | |
{ | |
"kind": "field", | |
"name": "x", | |
"privacy": "public", | |
"type": { "text": "number" }, | |
"default": "null" | |
}, | |
{ | |
"kind": "field", | |
"name": "y", | |
"privacy": "public", | |
"type": { "text": "number" }, | |
"default": "null" | |
}, | |
{ | |
"kind": "field", | |
"name": "absolute", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "activatable", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "fixed", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "forceGroupSelection", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "fullwidth", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "flipMenuHorizontally", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "stayOpenOnBodyClick", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "skipRestoreFocus", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "defaultFocus", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "\"LIST_ROOT\"" | |
}, | |
{ | |
"kind": "field", | |
"name": "listUpdateComplete", | |
"privacy": "protected", | |
"type": { | |
"text": "Promise<unknown>", | |
"references": [ | |
{ | |
"name": "Promise", | |
"package": "global:", | |
"start": 0, | |
"end": 7 | |
} | |
] | |
}, | |
"default": "null" | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "public", | |
"return": { | |
"type": { | |
"text": "TemplateResult<1>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit-html", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getMenuItemTagName", | |
"privacy": "protected", | |
"return": { "type": { "text": "string" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "createAdapter", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "MDCMenuAdapter", | |
"references": [ | |
{ | |
"name": "MDCMenuAdapter", | |
"package": "@material/web", | |
"module": "menu/lib/adapter.js", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "onKeydown", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "evt", | |
"type": { | |
"text": "KeyboardEvent", | |
"references": [ | |
{ | |
"name": "KeyboardEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 13 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "onAction", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "evt", | |
"type": { | |
"text": "CustomEvent<ActionDetail>", | |
"references": [ | |
{ | |
"name": "CustomEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 11 | |
}, | |
{ | |
"name": "ActionDetail", | |
"package": "@material/web", | |
"module": "menu/lib/menu.js", | |
"start": 12, | |
"end": 24 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "onOpened", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "onClosed", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "getUpdateComplete", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "Promise<boolean>", | |
"references": [ | |
{ | |
"name": "Promise", | |
"package": "global:", | |
"start": 0, | |
"end": 7 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "firstUpdated", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "Promise<void>", | |
"references": [ | |
{ | |
"name": "Promise", | |
"package": "global:", | |
"start": 0, | |
"end": 7 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "close", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "show", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
} | |
], | |
"customElement": true, | |
"events": [ | |
{ "name": "selected", "type": { "text": "Event" } }, | |
{ | |
"name": "action", | |
"type": { | |
"text": "ActionDetail", | |
"references": [ | |
{ | |
"name": "ActionDetail", | |
"package": "@material/web", | |
"module": "menu/lib/menu.js", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
}, | |
{ "name": "items-updated", "type": { "text": "Event" } }, | |
{ "name": "opened", "type": { "text": "Event" } }, | |
{ "name": "closed", "type": { "text": "Event" } } | |
] | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "Menu", "declaration": { "name": "Menu" } } | |
] | |
}, | |
{ "kind": "javascript-module", "path": "menu/lib/types.js" }, | |
{ | |
"kind": "javascript-module", | |
"path": "menu/lib/menuitem/menu-item.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MenuItem", | |
"description": "Base class for menu item component.", | |
"superclass": { | |
"name": "ListItem", | |
"package": "@material/web", | |
"module": "list/lib/listitem/list-item.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "role", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "'menuitem'" | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MenuItem", | |
"declaration": { "name": "MenuItem" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "menusurface/menu-surface.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdMenuSurface", | |
"superclass": { | |
"name": "MenuSurface", | |
"package": "@material/web", | |
"module": "menusurface/lib/menu-surface.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[styles]" | |
} | |
], | |
"tagName": "md-menu-surface", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdMenuSurface", | |
"declaration": { "name": "MdMenuSurface" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-menu-surface", | |
"declaration": { "name": "MdMenuSurface" } | |
} | |
] | |
}, | |
{ "kind": "javascript-module", "path": "menusurface/lib/adapter.js" }, | |
{ | |
"kind": "javascript-module", | |
"path": "menusurface/lib/constants.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "cssClasses", | |
"type": { | |
"text": "{ ANCHOR: string; ANIMATING_CLOSED: string; ANIMATING_OPEN: string; FIXED: string; IS_OPEN_BELOW: string; OPEN: string; ROOT: string; }" | |
} | |
}, | |
{ | |
"kind": "variable", | |
"name": "strings", | |
"type": { | |
"text": "{ CLOSED_EVENT: string; CLOSING_EVENT: string; OPENED_EVENT: string; OPENING_EVENT: string; FOCUSABLE_ELEMENTS: string; }" | |
} | |
}, | |
{ | |
"kind": "variable", | |
"name": "numbers", | |
"type": { | |
"text": "{ TRANSITION_OPEN_DURATION: number; TRANSITION_CLOSE_DURATION: number; MARGIN_TO_EDGE: number; ANCHOR_TO_MENU_SURFACE_WIDTH_RATIO: number; TOUCH_EVENT_WAIT_MS: number; }" | |
} | |
}, | |
{ | |
"kind": "variable", | |
"name": "CornerBit", | |
"description": "Enum for bits in the {@see Corner) bitmap.", | |
"type": { | |
"text": "CornerBit", | |
"references": [ | |
{ | |
"name": "CornerBit", | |
"package": "@material/web", | |
"module": "menusurface/lib/constants.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "variable", | |
"name": "Corner", | |
"description": "The START constants map to LEFT if element directionality is left\nto right and RIGHT if the directionality is right to left.\nLikewise END maps to RIGHT or LEFT depending on the directionality.", | |
"summary": "Enum for representing an element corner for positioning the menu-surface.", | |
"type": { | |
"text": "Corner", | |
"references": [ | |
{ | |
"name": "Corner", | |
"package": "@material/web", | |
"module": "menusurface/lib/constants.js", | |
"start": 0, | |
"end": 6 | |
} | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "cssClasses", | |
"declaration": { "name": "cssClasses" } | |
}, | |
{ | |
"kind": "js", | |
"name": "strings", | |
"declaration": { "name": "strings" } | |
}, | |
{ | |
"kind": "js", | |
"name": "numbers", | |
"declaration": { "name": "numbers" } | |
}, | |
{ | |
"kind": "js", | |
"name": "CornerBit", | |
"declaration": { "name": "CornerBit" } | |
}, | |
{ "kind": "js", "name": "Corner", "declaration": { "name": "Corner" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "menusurface/lib/foundation.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MDCMenuSurfaceFoundation", | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "adapter", | |
"privacy": "private", | |
"type": { | |
"text": "MDCMenuSurfaceAdapter", | |
"references": [ | |
{ | |
"name": "MDCMenuSurfaceAdapter", | |
"package": "@material/web", | |
"module": "menusurface/lib/adapter.js", | |
"start": 0, | |
"end": 21 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "isSurfaceOpen", | |
"privacy": "private", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "isQuickOpen", | |
"privacy": "private", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "isHoistedElement", | |
"privacy": "private", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "isFixedPosition", | |
"privacy": "private", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "isHorizontallyCenteredOnViewport", | |
"privacy": "private", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "maxHeight", | |
"privacy": "private", | |
"type": { "text": "number" }, | |
"default": "0" | |
}, | |
{ | |
"kind": "field", | |
"name": "openBottomBias", | |
"privacy": "private", | |
"type": { "text": "number" }, | |
"default": "0" | |
}, | |
{ | |
"kind": "field", | |
"name": "openAnimationEndTimerId", | |
"privacy": "private", | |
"type": { "text": "number" }, | |
"default": "0" | |
}, | |
{ | |
"kind": "field", | |
"name": "closeAnimationEndTimerId", | |
"privacy": "private", | |
"type": { "text": "number" }, | |
"default": "0" | |
}, | |
{ | |
"kind": "field", | |
"name": "animationRequestId", | |
"privacy": "private", | |
"type": { "text": "number" }, | |
"default": "0" | |
}, | |
{ | |
"kind": "field", | |
"name": "anchorCorner", | |
"privacy": "private", | |
"type": { | |
"text": "Corner", | |
"references": [ | |
{ | |
"name": "Corner", | |
"package": "@material/web", | |
"module": "menusurface/lib/constants.js", | |
"start": 0, | |
"end": 6 | |
} | |
] | |
}, | |
"default": "Corner.TOP_START" | |
}, | |
{ | |
"kind": "field", | |
"name": "originCorner", | |
"description": "Corner of the menu surface to which menu surface is attached to anchor.\n\n Anchor corner --->+----------+\n | ANCHOR |\n +----------+\n Origin corner --->+--------------+\n | |\n | |\n | MENU SURFACE |\n | |\n | |\n +--------------+", | |
"privacy": "private", | |
"type": { | |
"text": "Corner", | |
"references": [ | |
{ | |
"name": "Corner", | |
"package": "@material/web", | |
"module": "menusurface/lib/constants.js", | |
"start": 0, | |
"end": 6 | |
} | |
] | |
}, | |
"default": "Corner.TOP_START" | |
}, | |
{ | |
"kind": "field", | |
"name": "anchorMargin", | |
"privacy": "private", | |
"type": { | |
"text": "MDCMenuDistance", | |
"references": [ | |
{ | |
"name": "MDCMenuDistance", | |
"package": "@material/web", | |
"module": "menusurface/lib/types.js", | |
"start": 0, | |
"end": 15 | |
} | |
] | |
}, | |
"default": "{top: 0, right: 0, bottom: 0, left: 0}" | |
}, | |
{ | |
"kind": "field", | |
"name": "position", | |
"privacy": "private", | |
"type": { | |
"text": "MDCMenuPoint", | |
"references": [ | |
{ | |
"name": "MDCMenuPoint", | |
"package": "@material/web", | |
"module": "menusurface/lib/types.js", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
}, | |
"default": "{x: 0, y: 0}" | |
}, | |
{ | |
"kind": "field", | |
"name": "dimensions", | |
"privacy": "private", | |
"type": { | |
"text": "MDCMenuDimensions", | |
"references": [ | |
{ | |
"name": "MDCMenuDimensions", | |
"package": "@material/web", | |
"module": "menusurface/lib/types.js", | |
"start": 0, | |
"end": 17 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "measurements", | |
"privacy": "private", | |
"type": { | |
"text": "AutoLayoutMeasurements", | |
"references": [ | |
{ | |
"name": "AutoLayoutMeasurements", | |
"package": "@material/web", | |
"module": "menusurface/lib/foundation.js", | |
"start": 0, | |
"end": 22 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "init", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "destroy", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "setAnchorCorner", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "corner", | |
"description": "Default anchor corner alignment of top-left menu surface\ncorner.", | |
"type": { | |
"text": "Corner", | |
"references": [ | |
{ | |
"name": "Corner", | |
"package": "@material/web", | |
"module": "menusurface/lib/constants.js", | |
"start": 0, | |
"end": 6 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "flipCornerHorizontally", | |
"description": "Flips menu corner horizontally.", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "setAnchorMargin", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "margin", | |
"description": "Set of margin values from anchor.", | |
"type": { | |
"text": "Partial<MDCMenuDistance>", | |
"references": [ | |
{ | |
"name": "Partial", | |
"package": "global:", | |
"start": 0, | |
"end": 7 | |
}, | |
{ | |
"name": "MDCMenuDistance", | |
"package": "@material/web", | |
"module": "menusurface/lib/types.js", | |
"start": 8, | |
"end": 23 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "setIsHoisted", | |
"description": "Used to indicate if the menu-surface is hoisted to the body.", | |
"privacy": "public", | |
"parameters": [ | |
{ "name": "isHoisted", "type": { "text": "boolean" } } | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "setFixedPosition", | |
"description": "Used to set the menu-surface calculations based on a fixed position menu.", | |
"privacy": "public", | |
"parameters": [ | |
{ "name": "isFixedPosition", "type": { "text": "boolean" } } | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "isFixed", | |
"privacy": "public", | |
"return": { | |
"type": { "text": "boolean" }, | |
"description": "Returns true if menu is in fixed (`position: fixed`) position." | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "setAbsolutePosition", | |
"description": "Sets the menu-surface position on the page.", | |
"privacy": "public", | |
"parameters": [ | |
{ "name": "x", "type": { "text": "number" } }, | |
{ "name": "y", "type": { "text": "number" } } | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "setIsHorizontallyCenteredOnViewport", | |
"description": "Sets whether menu-surface should be horizontally centered to viewport.", | |
"privacy": "public", | |
"parameters": [ | |
{ "name": "isCentered", "type": { "text": "boolean" } } | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "setQuickOpen", | |
"privacy": "public", | |
"parameters": [ | |
{ "name": "quickOpen", "type": { "text": "boolean" } } | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "setMaxHeight", | |
"description": "Sets maximum menu-surface height on open.", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "maxHeight", | |
"description": "The desired max-height. Set to 0 (default) to\nautomatically calculate max height based on available viewport space.", | |
"type": { "text": "number" } | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "setOpenBottomBias", | |
"description": "Set to a positive integer to influence the menu to preferentially open\nbelow the anchor instead of above.", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "bias", | |
"description": "A value of `x` simulates an extra `x` pixels of available space\nbelow the menu during positioning calculations.", | |
"type": { "text": "number" } | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "isOpen", | |
"privacy": "public", | |
"return": { "type": { "text": "boolean" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "open", | |
"description": "Open the menu surface.", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "close", | |
"description": "Closes the menu surface.", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "skipRestoreFocus", | |
"type": { "text": "boolean" }, | |
"default": "false", | |
"optional": true | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleBodyClick", | |
"description": "Handle clicks and close if not within menu-surface element.", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "evt", | |
"type": { | |
"text": "MouseEvent", | |
"references": [ | |
{ | |
"name": "MouseEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 10 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleKeydown", | |
"description": "Handle keys that close the surface.", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "evt", | |
"type": { | |
"text": "KeyboardEvent", | |
"references": [ | |
{ | |
"name": "KeyboardEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 13 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "autoposition", | |
"privacy": "private", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "getAutoLayoutmeasurements", | |
"privacy": "private", | |
"return": { | |
"type": { | |
"text": "AutoLayoutMeasurements", | |
"references": [ | |
{ | |
"name": "AutoLayoutMeasurements", | |
"package": "@material/web", | |
"module": "menusurface/lib/foundation.js", | |
"start": 0, | |
"end": 22 | |
} | |
] | |
}, | |
"description": "Measurements used to position menu surface popup." | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getOriginCorner", | |
"description": "Only LEFT or RIGHT bit is used to position the menu surface ignoring RTL\ncontext. E.g., menu surface will be positioned from right side on TOP_END.", | |
"summary": "Computes the corner of the anchor from which to animate and position the\nmenu surface.", | |
"privacy": "private", | |
"return": { | |
"type": { | |
"text": "Corner", | |
"references": [ | |
{ | |
"name": "Corner", | |
"package": "@material/web", | |
"module": "menusurface/lib/constants.js", | |
"start": 0, | |
"end": 6 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getMenuSurfaceMaxHeight", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "corner", | |
"description": "Origin corner of the menu surface.", | |
"type": { | |
"text": "Corner", | |
"references": [ | |
{ | |
"name": "Corner", | |
"package": "@material/web", | |
"module": "menusurface/lib/constants.js", | |
"start": 0, | |
"end": 6 | |
} | |
] | |
} | |
} | |
], | |
"return": { | |
"type": { "text": "number" }, | |
"description": "Maximum height of the menu surface, based on available space. 0\nindicates should not be set." | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getHorizontalOriginOffset", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "corner", | |
"description": "Origin corner of the menu surface.", | |
"type": { | |
"text": "Corner", | |
"references": [ | |
{ | |
"name": "Corner", | |
"package": "@material/web", | |
"module": "menusurface/lib/constants.js", | |
"start": 0, | |
"end": 6 | |
} | |
] | |
} | |
} | |
], | |
"return": { | |
"type": { "text": "number" }, | |
"description": "Horizontal offset of menu surface origin corner from corresponding\nanchor corner." | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getVerticalOriginOffset", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "corner", | |
"description": "Origin corner of the menu surface.", | |
"type": { | |
"text": "Corner", | |
"references": [ | |
{ | |
"name": "Corner", | |
"package": "@material/web", | |
"module": "menusurface/lib/constants.js", | |
"start": 0, | |
"end": 6 | |
} | |
] | |
} | |
} | |
], | |
"return": { | |
"type": { "text": "number" }, | |
"description": "Vertical offset of menu surface origin corner from corresponding\nanchor corner." | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "adjustPositionForHoistedElement", | |
"description": "Calculates the offsets for positioning the menu-surface when the\nmenu-surface has been hoisted to the body.", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "position", | |
"type": { | |
"text": "Partial<MDCMenuDistance>", | |
"references": [ | |
{ | |
"name": "Partial", | |
"package": "global:", | |
"start": 0, | |
"end": 7 | |
}, | |
{ | |
"name": "MDCMenuDistance", | |
"package": "@material/web", | |
"module": "menusurface/lib/types.js", | |
"start": 8, | |
"end": 23 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "maybeRestoreFocus", | |
"description": "The last focused element when the menu surface was opened should regain\nfocus, if the user is focused on or within the menu surface when it is\nclosed.", | |
"privacy": "private", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "hasBit", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "corner", | |
"type": { | |
"text": "Corner", | |
"references": [ | |
{ | |
"name": "Corner", | |
"package": "@material/web", | |
"module": "menusurface/lib/constants.js", | |
"start": 0, | |
"end": 6 | |
} | |
] | |
} | |
}, | |
{ | |
"name": "bit", | |
"type": { | |
"text": "CornerBit", | |
"references": [ | |
{ | |
"name": "CornerBit", | |
"package": "@material/web", | |
"module": "menusurface/lib/constants.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "boolean" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "setBit", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "corner", | |
"type": { | |
"text": "Corner", | |
"references": [ | |
{ | |
"name": "Corner", | |
"package": "@material/web", | |
"module": "menusurface/lib/constants.js", | |
"start": 0, | |
"end": 6 | |
} | |
] | |
} | |
}, | |
{ | |
"name": "bit", | |
"type": { | |
"text": "CornerBit", | |
"references": [ | |
{ | |
"name": "CornerBit", | |
"package": "@material/web", | |
"module": "menusurface/lib/constants.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
], | |
"return": { | |
"type": { | |
"text": "Corner", | |
"references": [ | |
{ | |
"name": "Corner", | |
"package": "@material/web", | |
"module": "menusurface/lib/constants.js", | |
"start": 0, | |
"end": 6 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "unsetBit", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "corner", | |
"type": { | |
"text": "Corner", | |
"references": [ | |
{ | |
"name": "Corner", | |
"package": "@material/web", | |
"module": "menusurface/lib/constants.js", | |
"start": 0, | |
"end": 6 | |
} | |
] | |
} | |
}, | |
{ | |
"name": "bit", | |
"type": { | |
"text": "CornerBit", | |
"references": [ | |
{ | |
"name": "CornerBit", | |
"package": "@material/web", | |
"module": "menusurface/lib/constants.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
], | |
"return": { | |
"type": { | |
"text": "Corner", | |
"references": [ | |
{ | |
"name": "Corner", | |
"package": "@material/web", | |
"module": "menusurface/lib/constants.js", | |
"start": 0, | |
"end": 6 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "isFinite", | |
"description": "isFinite that doesn't force conversion to number type.\nEquivalent to Number.isFinite in ES2015, which is not supported in IE.", | |
"privacy": "private", | |
"parameters": [{ "name": "num", "type": { "text": "number" } }], | |
"return": { "type": { "text": "boolean" } } | |
} | |
] | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MDCMenuSurfaceFoundation", | |
"declaration": { "name": "MDCMenuSurfaceFoundation" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "menusurface/lib/menu-surface-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "menusurface/lib/menu-surface.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "stringToCorner", | |
"type": { | |
"text": "{ TOP_LEFT: Corner; TOP_RIGHT: Corner; BOTTOM_LEFT: Corner; BOTTOM_RIGHT: Corner; TOP_START: Corner; TOP_END: Corner; BOTTOM_START: Corner; BOTTOM_END: Corner; }", | |
"references": [ | |
{ | |
"name": "Corner", | |
"package": "@material/web", | |
"module": "menusurface/lib/constants.js", | |
"start": 12, | |
"end": 18 | |
}, | |
{ | |
"name": "Corner", | |
"package": "@material/web", | |
"module": "menusurface/lib/constants.js", | |
"start": 31, | |
"end": 37 | |
}, | |
{ | |
"name": "Corner", | |
"package": "@material/web", | |
"module": "menusurface/lib/constants.js", | |
"start": 52, | |
"end": 58 | |
}, | |
{ | |
"name": "Corner", | |
"package": "@material/web", | |
"module": "menusurface/lib/constants.js", | |
"start": 74, | |
"end": 80 | |
}, | |
{ | |
"name": "Corner", | |
"package": "@material/web", | |
"module": "menusurface/lib/constants.js", | |
"start": 93, | |
"end": 99 | |
}, | |
{ | |
"name": "Corner", | |
"package": "@material/web", | |
"module": "menusurface/lib/constants.js", | |
"start": 110, | |
"end": 116 | |
}, | |
{ | |
"name": "Corner", | |
"package": "@material/web", | |
"module": "menusurface/lib/constants.js", | |
"start": 132, | |
"end": 138 | |
}, | |
{ | |
"name": "Corner", | |
"package": "@material/web", | |
"module": "menusurface/lib/constants.js", | |
"start": 152, | |
"end": 158 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "class", | |
"name": "MenuSurface", | |
"superclass": { "name": "LitElement", "package": "lit" }, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "mdcFoundation", | |
"privacy": "protected", | |
"type": { | |
"text": "MDCMenuSurfaceFoundation", | |
"references": [ | |
{ | |
"name": "MDCMenuSurfaceFoundation", | |
"package": "@material/web", | |
"module": "menusurface/lib/foundation.js", | |
"start": 0, | |
"end": 24 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "mdcRoot", | |
"privacy": "public", | |
"type": { | |
"text": "HTMLDivElement", | |
"references": [ | |
{ | |
"name": "HTMLDivElement", | |
"package": "global:", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "slotElement", | |
"privacy": "public", | |
"type": { | |
"text": "HTMLSlotElement", | |
"references": [ | |
{ | |
"name": "HTMLSlotElement", | |
"package": "global:", | |
"start": 0, | |
"end": 15 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "absolute", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "fullwidth", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "fixed", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "x", | |
"privacy": "public", | |
"type": { "text": "number" }, | |
"default": "null" | |
}, | |
{ | |
"kind": "field", | |
"name": "y", | |
"privacy": "public", | |
"type": { "text": "number" }, | |
"default": "null" | |
}, | |
{ | |
"kind": "field", | |
"name": "quick", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "open", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "stayOpenOnBodyClick", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "skipRestoreFocus", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "previousFlipMenuHorizontally", | |
"privacy": "protected", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "flipMenuHorizontally", | |
"description": "Whether to align the menu surface to the opposite side of the default\nalignment.", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "corner", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "'BOTTOM_START'" | |
}, | |
{ | |
"kind": "field", | |
"name": "styleTop", | |
"privacy": "protected", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "styleLeft", | |
"privacy": "protected", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "styleRight", | |
"privacy": "protected", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "styleBottom", | |
"privacy": "protected", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "styleMaxHeight", | |
"privacy": "protected", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "styleTransformOrigin", | |
"privacy": "protected", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "anchor", | |
"privacy": "public", | |
"type": { | |
"text": "HTMLElement", | |
"references": [ | |
{ | |
"name": "HTMLElement", | |
"package": "global:", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
}, | |
"default": "null" | |
}, | |
{ | |
"kind": "field", | |
"name": "previouslyFocused", | |
"privacy": "protected", | |
"type": { | |
"text": "Element | HTMLElement", | |
"references": [ | |
{ | |
"name": "Element", | |
"package": "global:", | |
"start": 0, | |
"end": 7 | |
}, | |
{ | |
"name": "HTMLElement", | |
"package": "global:", | |
"start": 10, | |
"end": 21 | |
} | |
] | |
}, | |
"default": "null" | |
}, | |
{ | |
"kind": "field", | |
"name": "previousAnchor", | |
"privacy": "protected", | |
"type": { | |
"text": "HTMLElement", | |
"references": [ | |
{ | |
"name": "HTMLElement", | |
"package": "global:", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
}, | |
"default": "null" | |
}, | |
{ | |
"kind": "field", | |
"name": "onBodyClickBound", | |
"privacy": "protected", | |
"type": { | |
"text": "(evt: MouseEvent) => void", | |
"references": [ | |
{ | |
"name": "MouseEvent", | |
"package": "global:", | |
"start": 6, | |
"end": 16 | |
} | |
] | |
}, | |
"default": "() => undefined" | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "public", | |
"return": { | |
"type": { | |
"text": "TemplateResult<1>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit-html", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "updated", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "changedProperties", | |
"type": { | |
"text": "PropertyValueMap<MenuSurface>", | |
"references": [ | |
{ | |
"name": "PropertyValueMap", | |
"package": "lit", | |
"start": 0, | |
"end": 16 | |
}, | |
{ | |
"name": "MenuSurface", | |
"package": "@material/web", | |
"module": "menusurface/lib/menu-surface.js", | |
"start": 17, | |
"end": 28 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "firstUpdated", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "createAdapter", | |
"privacy": "public", | |
"return": { | |
"type": { | |
"text": "MDCMenuSurfaceAdapter", | |
"references": [ | |
{ | |
"name": "MDCMenuSurfaceAdapter", | |
"package": "@material/web", | |
"module": "menusurface/lib/adapter.js", | |
"start": 0, | |
"end": 21 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "onKeydown", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "evt", | |
"type": { | |
"text": "KeyboardEvent", | |
"references": [ | |
{ | |
"name": "KeyboardEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 13 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "onBodyClick", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "evt", | |
"type": { | |
"text": "MouseEvent", | |
"references": [ | |
{ | |
"name": "MouseEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 10 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "registerBodyClick", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "deregisterBodyClick", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "close", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "show", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
} | |
], | |
"customElement": true, | |
"events": [ | |
{ "name": "opened", "type": { "text": "Event" } }, | |
{ "name": "closed", "type": { "text": "Event" } } | |
] | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MenuSurface", | |
"declaration": { "name": "MenuSurface" } | |
} | |
] | |
}, | |
{ "kind": "javascript-module", "path": "menusurface/lib/types.js" }, | |
{ | |
"kind": "javascript-module", | |
"path": "motion/animation.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "Easing", | |
"description": "TODO(b/241113345): replace with tokens", | |
"summary": "Easing functions to use for web animations.", | |
"type": { | |
"text": "Easing", | |
"references": [ | |
{ | |
"name": "Easing", | |
"package": "@material/web", | |
"module": "motion/animation.js", | |
"start": 0, | |
"end": 6 | |
} | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "Easing", "declaration": { "name": "Easing" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "navigationbar/navigation-bar.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdNavigationBar", | |
"superclass": { | |
"name": "NavigationBar", | |
"package": "@material/web", | |
"module": "navigationbar/lib/navigation-bar.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[styles]" | |
} | |
], | |
"tagName": "md-navigation-bar", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdNavigationBar", | |
"declaration": { "name": "MdNavigationBar" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-navigation-bar", | |
"declaration": { "name": "MdNavigationBar" } | |
} | |
] | |
}, | |
{ "kind": "javascript-module", "path": "navigationbar/lib/constants.js" }, | |
{ | |
"kind": "javascript-module", | |
"path": "navigationbar/lib/navigation-bar-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "navigationbar/lib/navigation-bar.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "NavigationBar", | |
"superclass": { "name": "LitElement", "package": "lit" }, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "activeIndex", | |
"privacy": "public", | |
"type": { "text": "number" }, | |
"default": "0" | |
}, | |
{ | |
"kind": "field", | |
"name": "hideInactiveLabels", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "tabs", | |
"privacy": "public", | |
"type": { | |
"text": "NavigationTab[]", | |
"references": [ | |
{ | |
"name": "NavigationTab", | |
"package": "@material/web", | |
"module": "navigationtab/lib/navigation-tab.js", | |
"start": 0, | |
"end": 13 | |
} | |
] | |
}, | |
"default": "[]" | |
}, | |
{ | |
"kind": "field", | |
"name": "tabsElement", | |
"privacy": "protected", | |
"type": { | |
"text": "NavigationTab[]", | |
"references": [ | |
{ | |
"name": "NavigationTab", | |
"package": "@material/web", | |
"module": "navigationtab/lib/navigation-tab.js", | |
"start": 0, | |
"end": 13 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaLabel", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "public", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "updated", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "changedProperties", | |
"type": { | |
"text": "PropertyValueMap<NavigationBar>", | |
"references": [ | |
{ | |
"name": "PropertyValueMap", | |
"package": "lit", | |
"start": 0, | |
"end": 16 | |
}, | |
{ | |
"name": "NavigationBar", | |
"package": "@material/web", | |
"module": "navigationbar/lib/navigation-bar.js", | |
"start": 17, | |
"end": 30 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "firstUpdated", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "changedProperties", | |
"type": { | |
"text": "Map<PropertyKey, unknown> | PropertyValueMap<any>", | |
"references": [ | |
{ | |
"name": "Map", | |
"package": "global:", | |
"start": 0, | |
"end": 3 | |
}, | |
{ | |
"name": "PropertyKey", | |
"package": "global:", | |
"start": 4, | |
"end": 15 | |
}, | |
{ | |
"name": "PropertyValueMap", | |
"package": "lit", | |
"start": 28, | |
"end": 44 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "layout", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleNavigationTabConnected", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "event", | |
"type": { | |
"text": "CustomEvent<any>", | |
"references": [ | |
{ | |
"name": "CustomEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleNavigationTabInteraction", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "event", | |
"type": { | |
"text": "NavigationTabInteractionEvent", | |
"references": [ | |
{ | |
"name": "NavigationTabInteractionEvent", | |
"package": "@material/web", | |
"module": "navigationbar/lib/constants.js", | |
"start": 0, | |
"end": 29 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleKeydown", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "event", | |
"type": { | |
"text": "KeyboardEvent", | |
"references": [ | |
{ | |
"name": "KeyboardEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 13 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "onActiveIndexChange", | |
"privacy": "private", | |
"parameters": [{ "name": "value", "type": { "text": "number" } }], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "onHideInactiveLabelsChange", | |
"privacy": "private", | |
"parameters": [ | |
{ "name": "value", "type": { "text": "boolean" } } | |
], | |
"return": { "type": { "text": "void" } } | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "NavigationBar", | |
"declaration": { "name": "NavigationBar" } | |
} | |
] | |
}, | |
{ "kind": "javascript-module", "path": "navigationbar/lib/state.js" }, | |
{ | |
"kind": "javascript-module", | |
"path": "navigationdrawer/navigation-drawer-modal.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdNavigationDrawerModal", | |
"superclass": { | |
"name": "NavigationDrawerModal", | |
"package": "@material/web", | |
"module": "navigationdrawer/lib/navigation-drawer-modal.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[sharedStyles, styles]" | |
} | |
], | |
"tagName": "md-navigation-drawer-modal", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdNavigationDrawerModal", | |
"declaration": { "name": "MdNavigationDrawerModal" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-navigation-drawer-modal", | |
"declaration": { "name": "MdNavigationDrawerModal" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "navigationdrawer/navigation-drawer.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdNavigationDrawer", | |
"superclass": { | |
"name": "NavigationDrawer", | |
"package": "@material/web", | |
"module": "navigationdrawer/lib/navigation-drawer.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[sharedStyles, styles]" | |
} | |
], | |
"tagName": "md-navigation-drawer", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdNavigationDrawer", | |
"declaration": { "name": "MdNavigationDrawer" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-navigation-drawer", | |
"declaration": { "name": "MdNavigationDrawer" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "navigationdrawer/lib/navigation-drawer-modal-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "navigationdrawer/lib/navigation-drawer-modal.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "NavigationDrawerModal", | |
"superclass": { "name": "LitElement", "package": "lit" }, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "ariaDescribedBy", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaLabel", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaModal", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "'false'" | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaLabelledBy", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "opened", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "pivot", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "'end'" | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "public", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getScrimClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "DirectiveResult<typeof ClassMapDirective>", | |
"references": [ | |
{ | |
"name": "DirectiveResult", | |
"package": "lit-html", | |
"module": "directive.js", | |
"start": 0, | |
"end": 15 | |
}, | |
{ | |
"name": "ClassMapDirective", | |
"package": "lit-html", | |
"module": "directives/class-map.js", | |
"start": 23, | |
"end": 40 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "DirectiveResult<typeof ClassMapDirective>", | |
"references": [ | |
{ | |
"name": "DirectiveResult", | |
"package": "lit-html", | |
"module": "directive.js", | |
"start": 0, | |
"end": 15 | |
}, | |
{ | |
"name": "ClassMapDirective", | |
"package": "lit-html", | |
"module": "directives/class-map.js", | |
"start": 23, | |
"end": 40 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "updated", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "changedProperties", | |
"type": { | |
"text": "PropertyValueMap<NavigationDrawerModal>", | |
"references": [ | |
{ | |
"name": "PropertyValueMap", | |
"package": "lit", | |
"start": 0, | |
"end": 16 | |
}, | |
{ | |
"name": "NavigationDrawerModal", | |
"package": "@material/web", | |
"module": "navigationdrawer/lib/navigation-drawer-modal.js", | |
"start": 17, | |
"end": 38 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleKeyDown", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "KeyboardEvent", | |
"references": [ | |
{ | |
"name": "KeyboardEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 13 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleScrimClick", | |
"privacy": "private", | |
"return": { "type": { "text": "void" } } | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "NavigationDrawerModal", | |
"declaration": { "name": "NavigationDrawerModal" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "navigationdrawer/lib/navigation-drawer-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "navigationdrawer/lib/navigation-drawer.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "NavigationDrawer", | |
"superclass": { "name": "LitElement", "package": "lit" }, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "ariaDescribedBy", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaLabel", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaModal", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "'false'" | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaLabelledBy", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "opened", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "pivot", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "'end'" | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "public", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "DirectiveResult<typeof ClassMapDirective>", | |
"references": [ | |
{ | |
"name": "DirectiveResult", | |
"package": "lit-html", | |
"module": "directive.js", | |
"start": 0, | |
"end": 15 | |
}, | |
{ | |
"name": "ClassMapDirective", | |
"package": "lit-html", | |
"module": "directives/class-map.js", | |
"start": 23, | |
"end": 40 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "updated", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "changedProperties", | |
"type": { | |
"text": "PropertyValueMap<NavigationDrawer>", | |
"references": [ | |
{ | |
"name": "PropertyValueMap", | |
"package": "lit", | |
"start": 0, | |
"end": 16 | |
}, | |
{ | |
"name": "NavigationDrawer", | |
"package": "@material/web", | |
"module": "navigationdrawer/lib/navigation-drawer.js", | |
"start": 17, | |
"end": 33 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "NavigationDrawer", | |
"declaration": { "name": "NavigationDrawer" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "navigationdrawer/lib/shared-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "navigationtab/navigation-tab.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdNavigationTab", | |
"superclass": { | |
"name": "NavigationTab", | |
"package": "@material/web", | |
"module": "navigationtab/lib/navigation-tab.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[styles]" | |
} | |
], | |
"tagName": "md-navigation-tab", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdNavigationTab", | |
"declaration": { "name": "MdNavigationTab" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-navigation-tab", | |
"declaration": { "name": "MdNavigationTab" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "navigationtab/lib/navigation-tab-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "navigationtab/lib/navigation-tab.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "NavigationTab", | |
"superclass": { | |
"name": "ActionElement", | |
"package": "@material/web", | |
"module": "actionelement/action-element.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "disabled", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "active", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "hideInactiveLabel", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "label", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "badgeValue", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "showBadge", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "showFocusRing", | |
"privacy": "protected", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaLabel", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "buttonElement", | |
"privacy": "public", | |
"type": { | |
"text": "HTMLElement", | |
"references": [ | |
{ | |
"name": "HTMLElement", | |
"package": "global:", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "ripple", | |
"privacy": "public", | |
"type": { | |
"text": "MdRipple", | |
"references": [ | |
{ | |
"name": "MdRipple", | |
"package": "@material/web", | |
"module": "ripple/ripple.js", | |
"start": 0, | |
"end": 8 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "public", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderFocusRing", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderRipple", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "string | TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 9, | |
"end": 23 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderBadge", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "string | TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 9, | |
"end": 23 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderLabel", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "string | TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 9, | |
"end": 23 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "firstUpdated", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "changedProperties", | |
"type": { | |
"text": "Map<PropertyKey, unknown> | PropertyValueMap<any>", | |
"references": [ | |
{ | |
"name": "Map", | |
"package": "global:", | |
"start": 0, | |
"end": 3 | |
}, | |
{ | |
"name": "PropertyKey", | |
"package": "global:", | |
"start": 4, | |
"end": 15 | |
}, | |
{ | |
"name": "PropertyValueMap", | |
"package": "lit", | |
"start": 28, | |
"end": 44 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "focus", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "blur", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "beginPress", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "{positionEvent}", | |
"type": { | |
"text": "BeginPressConfig", | |
"references": [ | |
{ | |
"name": "BeginPressConfig", | |
"package": "@material/web", | |
"module": "actionelement/action-element.js", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "endPress", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "options", | |
"type": { | |
"text": "EndPressConfig", | |
"references": [ | |
{ | |
"name": "EndPressConfig", | |
"package": "@material/web", | |
"module": "actionelement/action-element.js", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handlePointerDown", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handlePointerUp", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handlePointerEnter", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handlePointerLeave", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleFocus", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleBlur", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "NavigationTab", | |
"declaration": { "name": "NavigationTab" } | |
} | |
] | |
}, | |
{ "kind": "javascript-module", "path": "navigationtab/lib/state.js" }, | |
{ | |
"kind": "javascript-module", | |
"path": "radio/radio.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdRadio", | |
"superclass": { | |
"name": "Radio", | |
"package": "@material/web", | |
"module": "radio/lib/radio.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[styles]" | |
} | |
], | |
"tagName": "md-radio", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdRadio", | |
"declaration": { "name": "MdRadio" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-radio", | |
"declaration": { "name": "MdRadio" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "radio/lib/radio-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "radio/lib/radio.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "Radio", | |
"superclass": { | |
"name": "ActionElement", | |
"package": "@material/web", | |
"module": "actionelement/action-element.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "formElement", | |
"privacy": "protected", | |
"type": { | |
"text": "HTMLInputElement", | |
"references": [ | |
{ | |
"name": "HTMLInputElement", | |
"package": "global:", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "ripple", | |
"privacy": "public", | |
"type": { | |
"text": "MdRipple", | |
"references": [ | |
{ | |
"name": "MdRipple", | |
"package": "@material/web", | |
"module": "ripple/ripple.js", | |
"start": 0, | |
"end": 8 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "_checked", | |
"privacy": "protected", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "showFocusRing", | |
"privacy": "protected", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "global", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "disabled", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "value", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "'on'" | |
}, | |
{ | |
"kind": "field", | |
"name": "name", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "reducedTouchTarget", | |
"description": "Touch target extends beyond visual boundary of a component by default.\nSet to `true` to remove touch target added to the component.", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "selectionController", | |
"privacy": "protected", | |
"type": { | |
"text": "SingleSelectionController", | |
"references": [ | |
{ | |
"name": "SingleSelectionController", | |
"package": "@material/web", | |
"module": "radio/lib/single-selection-controller.js", | |
"start": 0, | |
"end": 25 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "formElementTabIndex", | |
"description": "input's tabindex is updated based on checked status.\nTab navigation will be removed from unchecked radios.", | |
"privacy": "public", | |
"type": { "text": "number" }, | |
"default": "0" | |
}, | |
{ | |
"kind": "field", | |
"name": "focused", | |
"privacy": "protected", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaLabel", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaLabelledBy", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaDescribedBy", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "rippleElement", | |
"privacy": "protected", | |
"type": { | |
"text": "MdRipple", | |
"references": [ | |
{ | |
"name": "MdRipple", | |
"package": "@material/web", | |
"module": "ripple/ripple.js", | |
"start": 0, | |
"end": 8 | |
} | |
] | |
}, | |
"default": "null" | |
}, | |
{ | |
"kind": "method", | |
"name": "getChecked", | |
"privacy": "protected", | |
"return": { "type": { "text": "boolean" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "setChecked", | |
"privacy": "protected", | |
"parameters": [ | |
{ "name": "isChecked", "type": { "text": "boolean" } } | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "renderRipple", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "string | TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 9, | |
"end": 23 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderFocusRing", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "connectedCallback", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "disconnectedCallback", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "updated", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "changedProperties", | |
"type": { | |
"text": "Map<PropertyKey, unknown> | PropertyValueMap<any>", | |
"references": [ | |
{ | |
"name": "Map", | |
"package": "global:", | |
"start": 0, | |
"end": 3 | |
}, | |
{ | |
"name": "PropertyKey", | |
"package": "global:", | |
"start": 4, | |
"end": 15 | |
}, | |
{ | |
"name": "PropertyValueMap", | |
"package": "lit", | |
"start": 28, | |
"end": 44 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "createAdapter", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "beginPress", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "{positionEvent}", | |
"type": { | |
"text": "BeginPressConfig", | |
"references": [ | |
{ | |
"name": "BeginPressConfig", | |
"package": "@material/web", | |
"module": "actionelement/action-element.js", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "endPress", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "{cancelled}", | |
"type": { | |
"text": "EndPressConfig", | |
"references": [ | |
{ | |
"name": "EndPressConfig", | |
"package": "@material/web", | |
"module": "actionelement/action-element.js", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "click", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleFocus", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleBlur", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "setFormData", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "formData", | |
"type": { | |
"text": "FormData", | |
"references": [ | |
{ | |
"name": "FormData", | |
"package": "global:", | |
"start": 0, | |
"end": 8 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "handlePointerEnter", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handlePointerDown", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "event", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handlePointerLeave", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "changeHandler", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
} | |
], | |
"customElement": true, | |
"events": [{ "name": "checked", "type": { "text": "Event" } }] | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "Radio", "declaration": { "name": "Radio" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "radio/lib/single-selection-controller.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "selectionController", | |
"description": "Unique symbol for marking roots", | |
"type": { "text": "unique symbol" } | |
}, | |
{ | |
"kind": "class", | |
"name": "SingleSelectionSet", | |
"description": "Set of checkable elements with added metadata", | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "selected", | |
"privacy": "public", | |
"type": { | |
"text": "CheckableElement", | |
"references": [ | |
{ | |
"name": "CheckableElement", | |
"package": "@material/web", | |
"module": "radio/lib/single-selection-controller.js", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
}, | |
"default": "null" | |
}, | |
{ | |
"kind": "field", | |
"name": "ordered", | |
"privacy": "public", | |
"type": { | |
"text": "CheckableElement[]", | |
"references": [ | |
{ | |
"name": "CheckableElement", | |
"package": "@material/web", | |
"module": "radio/lib/single-selection-controller.js", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
}, | |
"default": "null" | |
}, | |
{ | |
"kind": "field", | |
"name": "set", | |
"privacy": "public", | |
"type": { | |
"text": "Set<CheckableElement>", | |
"references": [ | |
{ "name": "Set", "package": "global:", "start": 0, "end": 3 }, | |
{ | |
"name": "CheckableElement", | |
"package": "@material/web", | |
"module": "radio/lib/single-selection-controller.js", | |
"start": 4, | |
"end": 20 | |
} | |
] | |
}, | |
"default": "new Set<CheckableElement>()" | |
} | |
] | |
}, | |
{ | |
"kind": "class", | |
"name": "SingleSelectionController", | |
"description": "Behaviors:\n\n- Selection via key navigation (currently LTR is supported)\n- Deselection of other grouped, checkable controls upon selection\n- Grouping of checkable elements by name\n - Defaults grouping scope to host shadow root\n - Document-wide scoping enabled\n- Land focus only on checked element. Focuses leading element when none\n checked.\n\nIntended Usage:\n\n```ts\nclass MyElement extends HTMLElement {\n private selectionController: SingleSelectionController | null = null;\n name = \"\";\n global = false;\n\n private _checked = false;\n set checked(checked: boolean) {\n const oldVal = this._checked;\n if (checked === oldVal) return;\n\n this._checked = checked;\n\n if (this.selectionController) {\n this.selectionController.update(this)\n }\n }\n\n get checked() {\n return this._checked;\n }\n\n connectedCallback() {\n this.selectionController = SelectionController.getController(this);\n this.selectionController.register(this);\n this.selectionController.update(this);\n }\n\n disconnectedCallback() {\n this.selectionController!.unregister(this);\n this.selectionController = null;\n }\n}\n```", | |
"summary": "Controller that provides behavior similar to a native `<input type=\"radio\">`\ngroup.", | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "sets", | |
"privacy": "private", | |
"type": { | |
"text": "{ [name: string]: SingleSelectionSet; }", | |
"references": [ | |
{ | |
"name": "SingleSelectionSet", | |
"package": "@material/web", | |
"module": "radio/lib/single-selection-controller.js", | |
"start": 18, | |
"end": 36 | |
} | |
] | |
}, | |
"default": "{}" | |
}, | |
{ | |
"kind": "field", | |
"name": "focusedSet", | |
"privacy": "private", | |
"type": { | |
"text": "SingleSelectionSet", | |
"references": [ | |
{ | |
"name": "SingleSelectionSet", | |
"package": "@material/web", | |
"module": "radio/lib/single-selection-controller.js", | |
"start": 0, | |
"end": 18 | |
} | |
] | |
}, | |
"default": "null" | |
}, | |
{ | |
"kind": "field", | |
"name": "mouseIsDown", | |
"privacy": "private", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "method", | |
"name": "getController", | |
"description": "Get a controller for the given element. If no controller exists, one will\nbe created. Defaults to getting the controller scoped to the element's root\nnode shadow root unless `element.global` is true. Then, it will get a\n`window.document`-scoped controller.", | |
"static": true, | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "element", | |
"description": "Element from which to get / create a SelectionController. If\n`element.global` is true, it gets a selection controller scoped to\n`window.document`.", | |
"type": { | |
"text": "HTMLElement | (HTMLElement & { global: boolean; })", | |
"references": [ | |
{ | |
"name": "HTMLElement", | |
"package": "global:", | |
"start": 0, | |
"end": 11 | |
}, | |
{ | |
"name": "HTMLElement", | |
"package": "global:", | |
"start": 15, | |
"end": 26 | |
} | |
] | |
} | |
} | |
], | |
"return": { | |
"type": { | |
"text": "SingleSelectionController", | |
"references": [ | |
{ | |
"name": "SingleSelectionController", | |
"package": "@material/web", | |
"module": "radio/lib/single-selection-controller.js", | |
"start": 0, | |
"end": 25 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "keyDownHandler", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "KeyboardEvent", | |
"references": [ | |
{ | |
"name": "KeyboardEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 13 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "mousedownHandler", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "mouseupHandler", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "has", | |
"description": "Whether or not the controller controls the given element.", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "element", | |
"description": "element to check", | |
"type": { | |
"text": "CheckableElement", | |
"references": [ | |
{ | |
"name": "CheckableElement", | |
"package": "@material/web", | |
"module": "radio/lib/single-selection-controller.js", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "boolean" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "selectPrevious", | |
"description": "Selects and returns the controlled element previous to the given element in\ndocument position order. See\n[Node.compareDocumentPosition](https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition).", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "element", | |
"description": "element relative from which preceding element is fetched", | |
"type": { | |
"text": "CheckableElement", | |
"references": [ | |
{ | |
"name": "CheckableElement", | |
"package": "@material/web", | |
"module": "radio/lib/single-selection-controller.js", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
} | |
} | |
], | |
"return": { | |
"type": { | |
"text": "CheckableElement", | |
"references": [ | |
{ | |
"name": "CheckableElement", | |
"package": "@material/web", | |
"module": "radio/lib/single-selection-controller.js", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "selectNext", | |
"description": "Selects and returns the controlled element next to the given element in\ndocument position order. See\n[Node.compareDocumentPosition](https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition).", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "element", | |
"description": "element relative from which following element is fetched", | |
"type": { | |
"text": "CheckableElement", | |
"references": [ | |
{ | |
"name": "CheckableElement", | |
"package": "@material/web", | |
"module": "radio/lib/single-selection-controller.js", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
} | |
} | |
], | |
"return": { | |
"type": { | |
"text": "CheckableElement", | |
"references": [ | |
{ | |
"name": "CheckableElement", | |
"package": "@material/web", | |
"module": "radio/lib/single-selection-controller.js", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "select", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "element", | |
"type": { | |
"text": "CheckableElement", | |
"references": [ | |
{ | |
"name": "CheckableElement", | |
"package": "@material/web", | |
"module": "radio/lib/single-selection-controller.js", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "focus", | |
"description": "Focuses the selected element in the given element's selection set. User's\nmouse selection will override this focus.", | |
"deprecated": "update() method now handles focus management by setting\nappropriate tabindex to form element.", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "element", | |
"description": "Element from which selection set is derived and subsequently\nfocused.", | |
"type": { | |
"text": "CheckableElement", | |
"references": [ | |
{ | |
"name": "CheckableElement", | |
"package": "@material/web", | |
"module": "radio/lib/single-selection-controller.js", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "isAnySelected", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "element", | |
"type": { | |
"text": "CheckableElement", | |
"references": [ | |
{ | |
"name": "CheckableElement", | |
"package": "@material/web", | |
"module": "radio/lib/single-selection-controller.js", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
} | |
} | |
], | |
"return": { | |
"type": { "text": "boolean" }, | |
"description": "Returns true if atleast one radio is selected in the radio group." | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getOrdered", | |
"description": "Returns the elements in the given element's selection set in document\nposition order.\n[Node.compareDocumentPosition](https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition).", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "element", | |
"description": "Element from which selection set is derived and subsequently\nordered.", | |
"type": { | |
"text": "CheckableElement", | |
"references": [ | |
{ | |
"name": "CheckableElement", | |
"package": "@material/web", | |
"module": "radio/lib/single-selection-controller.js", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
} | |
} | |
], | |
"return": { | |
"type": { | |
"text": "CheckableElement[]", | |
"references": [ | |
{ | |
"name": "CheckableElement", | |
"package": "@material/web", | |
"module": "radio/lib/single-selection-controller.js", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getSet", | |
"description": "Gets the selection set of the given name and creates one if it does not yet\nexist.", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "name", | |
"description": "Name of set", | |
"type": { "text": "string" } | |
} | |
], | |
"return": { | |
"type": { | |
"text": "SingleSelectionSet", | |
"references": [ | |
{ | |
"name": "SingleSelectionSet", | |
"package": "@material/web", | |
"module": "radio/lib/single-selection-controller.js", | |
"start": 0, | |
"end": 18 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "register", | |
"description": "Register the element in the selection controller.", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "element", | |
"description": "Element to register. Registers in set of `element.name`.", | |
"type": { | |
"text": "CheckableElement", | |
"references": [ | |
{ | |
"name": "CheckableElement", | |
"package": "@material/web", | |
"module": "radio/lib/single-selection-controller.js", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "unregister", | |
"description": "Unregister the element from selection controller.", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "element", | |
"description": "Element to register. Registers in set of `element.name`.", | |
"type": { | |
"text": "CheckableElement", | |
"references": [ | |
{ | |
"name": "CheckableElement", | |
"package": "@material/web", | |
"module": "radio/lib/single-selection-controller.js", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "update", | |
"description": "Unselects other elements in element's set if element is checked. Noop\notherwise.", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "element", | |
"description": "Element from which to calculate selection controller update.", | |
"type": { | |
"text": "CheckableElement", | |
"references": [ | |
{ | |
"name": "CheckableElement", | |
"package": "@material/web", | |
"module": "radio/lib/single-selection-controller.js", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
} | |
] | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "SingleSelectionSet", | |
"declaration": { "name": "SingleSelectionSet" } | |
}, | |
{ | |
"kind": "js", | |
"name": "SingleSelectionController", | |
"declaration": { "name": "SingleSelectionController" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "ripple/directive.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "TOUCH_DELAY_MS", | |
"description": "Delay reacting to touch so that we do not show the ripple for a swipe or\nscroll interaction.", | |
"type": { "text": "number" } | |
}, | |
{ | |
"kind": "variable", | |
"name": "State", | |
"description": "On Touch:\n - `INACTIVE -> TOUCH_DELAY -> WAITING_FOR_CLICK -> INACTIVE`\n - `INACTIVE -> TOUCH_DELAY -> HOLDING -> WAITING_FOR_CLICK -> INACTIVE`\n\nOn Mouse or Pen:\n - `INACTIVE -> WAITING_FOR_CLICK -> INACTIVE`", | |
"summary": "Interaction states for the ripple.", | |
"type": { | |
"text": "State", | |
"references": [ | |
{ | |
"name": "State", | |
"package": "@material/web", | |
"module": "ripple/directive.js", | |
"start": 0, | |
"end": 5 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "class", | |
"name": "RippleDirective", | |
"superclass": { | |
"name": "Directive", | |
"package": "lit", | |
"module": "directive.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "rippleGetter", | |
"privacy": "private", | |
"type": { | |
"text": "RippleFunction", | |
"references": [ | |
{ | |
"name": "RippleFunction", | |
"package": "@material/web", | |
"module": "ripple/directive.js", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
}, | |
"default": "async () => null" | |
}, | |
{ | |
"kind": "field", | |
"name": "element", | |
"privacy": "private", | |
"type": { | |
"text": "HTMLElement", | |
"references": [ | |
{ | |
"name": "HTMLElement", | |
"package": "global:", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "state", | |
"privacy": "private", | |
"type": { | |
"text": "State", | |
"references": [ | |
{ | |
"name": "State", | |
"package": "@material/web", | |
"module": "ripple/directive.js", | |
"start": 0, | |
"end": 5 | |
} | |
] | |
}, | |
"default": "State.INACTIVE" | |
}, | |
{ | |
"kind": "field", | |
"name": "checkBoundsAfterContextMenu", | |
"privacy": "private", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "rippleStartEvent", | |
"privacy": "private", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
}, | |
"default": "null" | |
}, | |
{ | |
"kind": "field", | |
"name": "touchTimer", | |
"privacy": "private", | |
"type": { "text": "number" }, | |
"default": "null" | |
}, | |
{ | |
"kind": "field", | |
"name": "clickTimer", | |
"privacy": "private", | |
"type": { "text": "number" }, | |
"default": "null" | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "ripple", | |
"type": { | |
"text": "Promise<Ripple> | RippleFunction", | |
"references": [ | |
{ | |
"name": "Promise", | |
"package": "global:", | |
"start": 0, | |
"end": 7 | |
}, | |
{ | |
"name": "Ripple", | |
"package": "@material/web", | |
"module": "ripple/lib/ripple.js", | |
"start": 8, | |
"end": 14 | |
}, | |
{ | |
"name": "RippleFunction", | |
"package": "@material/web", | |
"module": "ripple/directive.js", | |
"start": 18, | |
"end": 32 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "symbol" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleEvent", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "event", | |
"type": { | |
"text": "Event", | |
"references": [ | |
{ | |
"name": "Event", | |
"package": "global:", | |
"start": 0, | |
"end": 5 | |
} | |
] | |
} | |
} | |
], | |
"return": { | |
"type": { | |
"text": "Promise<void>", | |
"references": [ | |
{ | |
"name": "Promise", | |
"package": "global:", | |
"start": 0, | |
"end": 7 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "update", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "part", | |
"type": { | |
"text": "ElementPart", | |
"references": [ | |
{ | |
"name": "ElementPart", | |
"package": "lit", | |
"module": "directive.js", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
} | |
}, | |
{ | |
"name": "[ripple]", | |
"type": { | |
"text": "Parameters<this[\"render\"]>", | |
"references": [ | |
{ | |
"name": "Parameters", | |
"package": "global:", | |
"start": 0, | |
"end": 10 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "symbol" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "shouldReactToEvent", | |
"description": "Returns `true` if\n - the ripple element is enabled\n - the pointer is primary for the input type\n - the pointer is the pointer that started the interaction, or will start\nthe interaction\n - the pointer is a touch, or the pointer state has the primary button\nheld, or the pointer is hovering", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "ripple", | |
"type": { | |
"text": "Ripple", | |
"references": [ | |
{ | |
"name": "Ripple", | |
"package": "@material/web", | |
"module": "ripple/lib/ripple.js", | |
"start": 0, | |
"end": 6 | |
} | |
] | |
} | |
}, | |
{ | |
"name": "ev", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
}, | |
{ | |
"name": "hovering", | |
"type": { "text": "boolean" }, | |
"default": "false", | |
"optional": true | |
} | |
], | |
"return": { "type": { "text": "boolean" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "isTouch", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "{pointerType}", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "boolean" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "inBounds", | |
"description": "This is only needed for the \"stuck\" contextmenu longpress on Chrome.", | |
"summary": "Check if the event is within the bounds of the element.", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "{x, y}", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "boolean" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "beginPress", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "ripple", | |
"type": { | |
"text": "Ripple", | |
"references": [ | |
{ | |
"name": "Ripple", | |
"package": "@material/web", | |
"module": "ripple/lib/ripple.js", | |
"start": 0, | |
"end": 6 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "endPress", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "ripple", | |
"type": { | |
"text": "Ripple", | |
"references": [ | |
{ | |
"name": "Ripple", | |
"package": "@material/web", | |
"module": "ripple/lib/ripple.js", | |
"start": 0, | |
"end": 6 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "waitForTouchHold", | |
"privacy": "private", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "click", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "ripple", | |
"type": { | |
"text": "Ripple", | |
"references": [ | |
{ | |
"name": "Ripple", | |
"package": "@material/web", | |
"module": "ripple/lib/ripple.js", | |
"start": 0, | |
"end": 6 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "contextMenu", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "ripple", | |
"type": { | |
"text": "Ripple", | |
"references": [ | |
{ | |
"name": "Ripple", | |
"package": "@material/web", | |
"module": "ripple/lib/ripple.js", | |
"start": 0, | |
"end": 6 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "pointerDown", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "ripple", | |
"type": { | |
"text": "Ripple", | |
"references": [ | |
{ | |
"name": "Ripple", | |
"package": "@material/web", | |
"module": "ripple/lib/ripple.js", | |
"start": 0, | |
"end": 6 | |
} | |
] | |
} | |
}, | |
{ | |
"name": "ev", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "pointerUp", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "ripple", | |
"type": { | |
"text": "Ripple", | |
"references": [ | |
{ | |
"name": "Ripple", | |
"package": "@material/web", | |
"module": "ripple/lib/ripple.js", | |
"start": 0, | |
"end": 6 | |
} | |
] | |
} | |
}, | |
{ | |
"name": "ev", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "pointerCancel", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "ripple", | |
"type": { | |
"text": "Ripple", | |
"references": [ | |
{ | |
"name": "Ripple", | |
"package": "@material/web", | |
"module": "ripple/lib/ripple.js", | |
"start": 0, | |
"end": 6 | |
} | |
] | |
} | |
}, | |
{ | |
"name": "ev", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "pointerEnter", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "ripple", | |
"type": { | |
"text": "Ripple", | |
"references": [ | |
{ | |
"name": "Ripple", | |
"package": "@material/web", | |
"module": "ripple/lib/ripple.js", | |
"start": 0, | |
"end": 6 | |
} | |
] | |
} | |
}, | |
{ | |
"name": "ev", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "pointerLeave", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "ripple", | |
"type": { | |
"text": "Ripple", | |
"references": [ | |
{ | |
"name": "Ripple", | |
"package": "@material/web", | |
"module": "ripple/lib/ripple.js", | |
"start": 0, | |
"end": 6 | |
} | |
] | |
} | |
}, | |
{ | |
"name": "ev", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
} | |
] | |
}, | |
{ | |
"kind": "variable", | |
"name": "ripple", | |
"description": "Connects a Ripple element to a node that drives the interaction", | |
"type": { | |
"text": "(ripple: Promise<Ripple> | RippleFunction) => DirectiveResult<typeof RippleDirective>", | |
"references": [ | |
{ | |
"name": "Promise", | |
"package": "global:", | |
"start": 9, | |
"end": 16 | |
}, | |
{ | |
"name": "Ripple", | |
"package": "@material/web", | |
"module": "ripple/lib/ripple.js", | |
"start": 17, | |
"end": 23 | |
}, | |
{ | |
"name": "RippleFunction", | |
"package": "@material/web", | |
"module": "ripple/directive.js", | |
"start": 27, | |
"end": 41 | |
}, | |
{ | |
"name": "DirectiveResult", | |
"package": "lit-html", | |
"module": "directive.js", | |
"start": 46, | |
"end": 61 | |
} | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "ripple", "declaration": { "name": "ripple" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "ripple/ripple.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdRipple", | |
"superclass": { | |
"name": "Ripple", | |
"package": "@material/web", | |
"module": "ripple/lib/ripple.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[styles]" | |
} | |
], | |
"tagName": "md-ripple", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdRipple", | |
"declaration": { "name": "MdRipple" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-ripple", | |
"declaration": { "name": "MdRipple" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "ripple/lib/ripple-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "ripple/lib/ripple.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "PRESS_GROW_MS", | |
"type": { "text": "number" } | |
}, | |
{ | |
"kind": "variable", | |
"name": "MINIMUM_PRESS_MS", | |
"type": { "text": "number" } | |
}, | |
{ | |
"kind": "variable", | |
"name": "INITIAL_ORIGIN_SCALE", | |
"type": { "text": "number" } | |
}, | |
{ "kind": "variable", "name": "PADDING", "type": { "text": "number" } }, | |
{ | |
"kind": "variable", | |
"name": "SOFT_EDGE_MINIMUM_SIZE", | |
"type": { "text": "number" } | |
}, | |
{ | |
"kind": "variable", | |
"name": "SOFT_EDGE_CONTAINER_RATIO", | |
"type": { "text": "number" } | |
}, | |
{ | |
"kind": "variable", | |
"name": "PRESS_PSEUDO", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "variable", | |
"name": "ANIMATION_FILL", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "class", | |
"name": "Ripple", | |
"superclass": { "name": "LitElement", "package": "lit" }, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "mdRoot", | |
"privacy": "public", | |
"type": { | |
"text": "HTMLElement", | |
"references": [ | |
{ | |
"name": "HTMLElement", | |
"package": "global:", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "unbounded", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "disabled", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "hovered", | |
"privacy": "protected", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "focused", | |
"privacy": "protected", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "pressed", | |
"privacy": "protected", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "rippleSize", | |
"privacy": "protected", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "rippleScale", | |
"privacy": "protected", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "initialSize", | |
"privacy": "protected", | |
"type": { "text": "number" }, | |
"default": "0" | |
}, | |
{ | |
"kind": "field", | |
"name": "pressAnimationSignal", | |
"privacy": "protected", | |
"type": { | |
"text": "AnimationSignal", | |
"references": [ | |
{ | |
"name": "AnimationSignal", | |
"package": "@material/web", | |
"module": "motion/animation.js", | |
"start": 0, | |
"end": 15 | |
} | |
] | |
}, | |
"default": "createAnimationSignal()" | |
}, | |
{ | |
"kind": "field", | |
"name": "growAnimation", | |
"privacy": "protected", | |
"type": { | |
"text": "Animation", | |
"references": [ | |
{ | |
"name": "Animation", | |
"package": "global:", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "null" | |
}, | |
{ | |
"kind": "field", | |
"name": "delayedEndPressHandle", | |
"privacy": "protected", | |
"type": { "text": "number" }, | |
"default": "null" | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderRippleClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "update", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "changedProps", | |
"type": { | |
"text": "PropertyValues<this>", | |
"references": [ | |
{ | |
"name": "PropertyValues", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "getDimensions", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "DOMRect", | |
"references": [ | |
{ | |
"name": "DOMRect", | |
"package": "global:", | |
"start": 0, | |
"end": 7 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "determineRippleSize", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "getNormalizedPointerEventCoords", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "pointerEvent", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "{ x: number; y: number; }" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "getTranslationCoordinates", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "positionEvent", | |
"type": { | |
"text": "Event", | |
"references": [ | |
{ | |
"name": "Event", | |
"package": "global:", | |
"start": 0, | |
"end": 5 | |
} | |
] | |
}, | |
"optional": true | |
} | |
], | |
"return": { | |
"type": { | |
"text": "{ startPoint: { x: number; y: number; }; endPoint: { x: number; y: number; }; }" | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "startPressAnimation", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "positionEvent", | |
"type": { | |
"text": "Event", | |
"references": [ | |
{ | |
"name": "Event", | |
"package": "global:", | |
"start": 0, | |
"end": 5 | |
} | |
] | |
}, | |
"optional": true | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "startHover", | |
"deprecated": "Use beginHover", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "hoverEvent", | |
"type": { | |
"text": "Event", | |
"references": [ | |
{ | |
"name": "Event", | |
"package": "global:", | |
"start": 0, | |
"end": 5 | |
} | |
] | |
}, | |
"optional": true | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "beginHover", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "hoverEvent", | |
"type": { | |
"text": "Event", | |
"references": [ | |
{ | |
"name": "Event", | |
"package": "global:", | |
"start": 0, | |
"end": 5 | |
} | |
] | |
}, | |
"optional": true | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "endHover", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "startFocus", | |
"deprecated": "Use beginFocus", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "beginFocus", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "endFocus", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "startPress", | |
"deprecated": "Use beginPress", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "positionEvent", | |
"type": { | |
"text": "Event", | |
"references": [ | |
{ | |
"name": "Event", | |
"package": "global:", | |
"start": 0, | |
"end": 5 | |
} | |
] | |
}, | |
"optional": true | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "beginPress", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "positionEvent", | |
"type": { | |
"text": "Event", | |
"references": [ | |
{ | |
"name": "Event", | |
"package": "global:", | |
"start": 0, | |
"end": 5 | |
} | |
] | |
}, | |
"optional": true | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "endPress", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "Ripple", "declaration": { "name": "Ripple" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "sass/test/test.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "segmentedbutton/outlined-segmented-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdOutlinedSegmentedButton", | |
"description": "MdOutlinedSegmentedButton is the custom element for the Material\nDesign outlined segmented button component.", | |
"superclass": { | |
"name": "OutlinedSegmentedButton", | |
"package": "@material/web", | |
"module": "segmentedbutton/lib/outlined-segmented-button.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[sharedStyles, outlinedStyles]" | |
} | |
], | |
"tagName": "md-outlined-segmented-button", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdOutlinedSegmentedButton", | |
"declaration": { "name": "MdOutlinedSegmentedButton" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-outlined-segmented-button", | |
"declaration": { "name": "MdOutlinedSegmentedButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "segmentedbutton/lib/outlined-segmented-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "OutlinedSegmentedButton", | |
"superclass": { | |
"name": "SegmentedButton", | |
"package": "@material/web", | |
"module": "segmentedbutton/lib/segmented-button.js" | |
}, | |
"members": [ | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderOutline", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "OutlinedSegmentedButton", | |
"declaration": { "name": "OutlinedSegmentedButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "segmentedbutton/lib/outlined-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "segmentedbutton/lib/segmented-button.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "SegmentedButton", | |
"description": "SegmentedButton is a web component implementation of the Material Design\nsegmented button component. It is intended **only** for use as a child of a\n`SementedButtonSet` component. It is **not** intended for use in any other\ncontext.", | |
"superclass": { | |
"name": "ActionElement", | |
"package": "@material/web", | |
"module": "actionelement/action-element.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "disabled", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "selected", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "label", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "noCheckmark", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "hasIcon", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaLabel", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "animState", | |
"privacy": "protected", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "showFocusRing", | |
"privacy": "protected", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "iconElement", | |
"privacy": "protected", | |
"type": { | |
"text": "HTMLElement[]", | |
"references": [ | |
{ | |
"name": "HTMLElement", | |
"package": "global:", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "ripple", | |
"privacy": "public", | |
"type": { | |
"text": "MdRipple", | |
"references": [ | |
{ | |
"name": "MdRipple", | |
"package": "@material/web", | |
"module": "ripple/ripple.js", | |
"start": 0, | |
"end": 8 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "update", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "props", | |
"type": { | |
"text": "PropertyValueMap<SegmentedButton>", | |
"references": [ | |
{ | |
"name": "PropertyValueMap", | |
"package": "lit", | |
"start": 0, | |
"end": 16 | |
}, | |
{ | |
"name": "SegmentedButton", | |
"package": "@material/web", | |
"module": "segmentedbutton/lib/segmented-button.js", | |
"start": 17, | |
"end": 32 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "nextAnimationState", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "changedProps", | |
"type": { | |
"text": "PropertyValueMap<SegmentedButton>", | |
"references": [ | |
{ | |
"name": "PropertyValueMap", | |
"package": "lit", | |
"start": 0, | |
"end": 16 | |
}, | |
{ | |
"name": "SegmentedButton", | |
"package": "@material/web", | |
"module": "segmentedbutton/lib/segmented-button.js", | |
"start": 17, | |
"end": 32 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "string" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "beginPress", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "{positionEvent}", | |
"type": { | |
"text": "BeginPressConfig", | |
"references": [ | |
{ | |
"name": "BeginPressConfig", | |
"package": "@material/web", | |
"module": "actionelement/action-element.js", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "endPress", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "options", | |
"type": { | |
"text": "EndPressConfig", | |
"references": [ | |
{ | |
"name": "EndPressConfig", | |
"package": "@material/web", | |
"module": "actionelement/action-element.js", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handlePointerDown", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handlePointerUp", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handlePointerEnter", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handlePointerLeave", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleFocus", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleBlur", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "public", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderFocusRing", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderRipple", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "string | TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 9, | |
"end": 23 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderOutline", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderLeading", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderLeadingWithoutLabel", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderLeadingWithLabel", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderLabel", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderTouchTarget", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "SegmentedButton", | |
"declaration": { "name": "SegmentedButton" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "segmentedbutton/lib/shared-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "segmentedbuttonset/outlined-segmented-button-set.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdOutlinedSegmentedButtonSet", | |
"description": "MdOutlinedSegmentedButtonSet is the custom element for the Material\nDesign outlined segmented button set component.", | |
"superclass": { | |
"name": "OutlinedSegmentedButtonSet", | |
"package": "@material/web", | |
"module": "segmentedbuttonset/lib/outlined-segmented-button-set.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[sharedStyles, outlinedStyles]" | |
} | |
], | |
"tagName": "md-outlined-segmented-button-set", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdOutlinedSegmentedButtonSet", | |
"declaration": { "name": "MdOutlinedSegmentedButtonSet" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-outlined-segmented-button-set", | |
"declaration": { "name": "MdOutlinedSegmentedButtonSet" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "segmentedbuttonset/lib/outlined-segmented-button-set.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "OutlinedSegmentedButtonSet", | |
"superclass": { | |
"name": "SegmentedButtonSet", | |
"package": "@material/web", | |
"module": "segmentedbuttonset/lib/segmented-button-set.js" | |
}, | |
"members": [ | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "OutlinedSegmentedButtonSet", | |
"declaration": { "name": "OutlinedSegmentedButtonSet" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "segmentedbuttonset/lib/outlined-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "segmentedbuttonset/lib/segmented-button-set.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "SegmentedButtonSet", | |
"description": "SegmentedButtonSet is the parent component for two or more\n`SegmentedButton` components. **Only** `SegmentedButton` components may be\nused as children.", | |
"superclass": { "name": "LitElement", "package": "lit" }, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "multiselect", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaLabel", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "buttons", | |
"privacy": "public", | |
"type": { | |
"text": "SegmentedButton[]", | |
"references": [ | |
{ | |
"name": "SegmentedButton", | |
"package": "@material/web", | |
"module": "segmentedbutton/lib/segmented-button.js", | |
"start": 0, | |
"end": 15 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getButtonDisabled", | |
"privacy": "public", | |
"parameters": [{ "name": "index", "type": { "text": "number" } }], | |
"return": { "type": { "text": "boolean" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "setButtonDisabled", | |
"privacy": "public", | |
"parameters": [ | |
{ "name": "index", "type": { "text": "number" } }, | |
{ "name": "disabled", "type": { "text": "boolean" } } | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "getButtonSelected", | |
"privacy": "public", | |
"parameters": [{ "name": "index", "type": { "text": "number" } }], | |
"return": { "type": { "text": "boolean" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "setButtonSelected", | |
"privacy": "public", | |
"parameters": [ | |
{ "name": "index", "type": { "text": "number" } }, | |
{ "name": "selected", "type": { "text": "boolean" } } | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleSegmentedButtonInteraction", | |
"privacy": "private", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "CustomEvent<any>", | |
"references": [ | |
{ | |
"name": "CustomEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "toggleSelection", | |
"privacy": "private", | |
"parameters": [{ "name": "index", "type": { "text": "number" } }], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "indexOutOfBounds", | |
"privacy": "private", | |
"parameters": [{ "name": "index", "type": { "text": "number" } }], | |
"return": { "type": { "text": "boolean" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "emitSelectionEvent", | |
"privacy": "private", | |
"parameters": [{ "name": "index", "type": { "text": "number" } }], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "public", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "SegmentedButtonSet", | |
"declaration": { "name": "SegmentedButtonSet" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "segmentedbuttonset/lib/shared-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "switch/switch.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdSwitch", | |
"description": "There's one type of switch in Material. Use this selection control when the\nuser needs to toggle a single item on or off.", | |
"summary": "Switches toggle the state of a single item on or off.", | |
"superclass": { | |
"name": "Switch", | |
"package": "@material/web", | |
"module": "switch/lib/switch.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[styles]" | |
} | |
], | |
"tagName": "md-switch", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdSwitch", | |
"declaration": { "name": "MdSwitch" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-switch", | |
"declaration": { "name": "MdSwitch" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "switch/lib/switch-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "switch/lib/switch.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "Switch", | |
"superclass": { | |
"name": "ActionElement", | |
"package": "@material/web", | |
"module": "actionelement/action-element.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "shadowRootOptions", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "ShadowRootInit", | |
"references": [ | |
{ | |
"name": "ShadowRootInit", | |
"package": "global:", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
}, | |
"default": "{mode: 'open', delegatesFocus: true}" | |
}, | |
{ | |
"kind": "field", | |
"name": "disabled", | |
"description": "Disables the switch and makes it non-interactive.", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "selected", | |
"description": "Puts the switch in the selected state and sets the form submission value to\nthe `value` property.", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "icons", | |
"description": "Shows both the selected and deselected icons.", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "showOnlySelectedIcon", | |
"description": "Shows only the selected icon, and not the deselected icon. If `true`,\noverrides the behavior of the `icons` property.", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaLabel", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaLabelledBy", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "showFocusRing", | |
"privacy": "protected", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "ripple", | |
"privacy": "public", | |
"type": { | |
"text": "MdRipple", | |
"references": [ | |
{ | |
"name": "MdRipple", | |
"package": "@material/web", | |
"module": "ripple/ripple.js", | |
"start": 0, | |
"end": 8 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "name", | |
"description": "The HTML name to use in form submission.", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "value", | |
"description": "The value associated with this switch on form submission. `null` is\nsubmitted when `selected` is `false`.", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "'on'" | |
}, | |
{ | |
"kind": "method", | |
"name": "[getFormValue]", | |
"privacy": "public", | |
"return": { "type": { "text": "string" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "click", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderRipple", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderFocusRing", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderHandle", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderIcons", | |
"privacy": "private", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderOnIcon", | |
"description": "https://fonts.google.com/icons?selected=Material%20Symbols%20Outlined%3Acheck%3AFILL%400%3Bwght%40500%3BGRAD%400%3Bopsz%4024", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderOffIcon", | |
"description": "https://fonts.google.com/icons?selected=Material%20Symbols%20Outlined%3Aclose%3AFILL%400%3Bwght%40500%3BGRAD%400%3Bopsz%4024", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderTouchTarget", | |
"privacy": "private", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "shouldShowIcons", | |
"privacy": "private", | |
"return": { "type": { "text": "boolean" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "beginPress", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "{positionEvent}", | |
"type": { | |
"text": "BeginPressConfig", | |
"references": [ | |
{ | |
"name": "BeginPressConfig", | |
"package": "@material/web", | |
"module": "actionelement/action-element.js", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "endPress", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "{cancelled}", | |
"type": { | |
"text": "EndPressConfig", | |
"references": [ | |
{ | |
"name": "EndPressConfig", | |
"package": "@material/web", | |
"module": "actionelement/action-element.js", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleFocus", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleBlur", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handlePointerEnter", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handlePointerLeave", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "e", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handlePointerDown", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "event", | |
"type": { | |
"text": "PointerEvent", | |
"references": [ | |
{ | |
"name": "PointerEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 12 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
} | |
], | |
"customElement": true, | |
"events": [ | |
{ | |
"name": "input", | |
"type": { | |
"text": "InputEvent", | |
"references": [ | |
{ | |
"name": "InputEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 10 | |
} | |
] | |
}, | |
"description": "Fired whenever `selected` changes due to user\ninteraction (bubbles and composed)." | |
}, | |
{ | |
"name": "change", | |
"type": { | |
"text": "Event", | |
"references": [ | |
{ | |
"name": "Event", | |
"package": "global:", | |
"start": 0, | |
"end": 5 | |
} | |
] | |
}, | |
"description": "Fired whenever `selected` changes due to user\ninteraction (bubbles)." | |
} | |
] | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "Switch", "declaration": { "name": "Switch" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "textfield/filled-text-field.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdFilledTextField", | |
"superclass": { | |
"name": "FilledTextField", | |
"package": "@material/web", | |
"module": "textfield/lib/filled-text-field.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[sharedStyles, filledStyles, filledForcedColorsStyles]" | |
}, | |
{ | |
"kind": "field", | |
"name": "fieldTag", | |
"privacy": "protected", | |
"type": { | |
"text": "StaticValue", | |
"references": [ | |
{ | |
"name": "StaticValue", | |
"package": "lit-html", | |
"module": "static.js", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
}, | |
"default": "literal`md-filled-field`" | |
} | |
], | |
"tagName": "md-filled-text-field", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdFilledTextField", | |
"declaration": { "name": "MdFilledTextField" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-filled-text-field", | |
"declaration": { "name": "MdFilledTextField" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "textfield/outlined-text-field.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "MdOutlinedTextField", | |
"superclass": { | |
"name": "OutlinedTextField", | |
"package": "@material/web", | |
"module": "textfield/lib/outlined-text-field.js" | |
}, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "styles", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "CSSResult[]", | |
"references": [ | |
{ | |
"name": "CSSResult", | |
"package": "lit-element", | |
"module": "lit-element.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
}, | |
"default": "[sharedStyles, outlinedStyles, outlinedForcedColorsStyles]" | |
}, | |
{ | |
"kind": "field", | |
"name": "fieldTag", | |
"privacy": "protected", | |
"type": { | |
"text": "StaticValue", | |
"references": [ | |
{ | |
"name": "StaticValue", | |
"package": "lit-html", | |
"module": "static.js", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
}, | |
"default": "literal`md-outlined-field`" | |
} | |
], | |
"tagName": "md-outlined-text-field", | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "MdOutlinedTextField", | |
"declaration": { "name": "MdOutlinedTextField" } | |
}, | |
{ | |
"kind": "custom-element-definition", | |
"name": "md-outlined-text-field", | |
"declaration": { "name": "MdOutlinedTextField" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "textfield/lib/filled-forced-colors-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "textfield/lib/filled-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "textfield/lib/filled-text-field.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "FilledTextField", | |
"superclass": { | |
"name": "TextField", | |
"package": "@material/web", | |
"module": "textfield/lib/text-field.js" | |
}, | |
"members": [ | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "FilledTextField", | |
"declaration": { "name": "FilledTextField" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "textfield/lib/outlined-forced-colors-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "textfield/lib/outlined-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "textfield/lib/outlined-text-field.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "OutlinedTextField", | |
"superclass": { | |
"name": "TextField", | |
"package": "@material/web", | |
"module": "textfield/lib/text-field.js" | |
}, | |
"members": [ | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "OutlinedTextField", | |
"declaration": { "name": "OutlinedTextField" } | |
} | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "textfield/lib/shared-styles.css.js", | |
"declarations": [ | |
{ | |
"kind": "variable", | |
"name": "styles", | |
"type": { | |
"text": "CSSResult", | |
"references": [ | |
{ "name": "CSSResult", "package": "lit", "start": 0, "end": 9 } | |
] | |
} | |
} | |
], | |
"exports": [ | |
{ "kind": "js", "name": "styles", "declaration": { "name": "styles" } } | |
] | |
}, | |
{ | |
"kind": "javascript-module", | |
"path": "textfield/lib/text-field.js", | |
"declarations": [ | |
{ | |
"kind": "class", | |
"name": "TextField", | |
"superclass": { "name": "LitElement", "package": "lit" }, | |
"members": [ | |
{ | |
"kind": "field", | |
"name": "shadowRootOptions", | |
"static": true, | |
"privacy": "public", | |
"type": { | |
"text": "ShadowRootInit", | |
"references": [ | |
{ | |
"name": "ShadowRootInit", | |
"package": "global:", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
}, | |
"default": "{mode: 'open', delegatesFocus: true}" | |
}, | |
{ | |
"kind": "field", | |
"name": "disabled", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "error", | |
"description": "Calling `reportValidity()` will automatically update `error`.", | |
"summary": "Gets or sets whether or not the text field is in a visually invalid state.", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "errorText", | |
"description": "Calling `reportValidity()` will automatically update `errorText` to the\nnative `validationMessage`.", | |
"summary": "The error message that replaces supporting text when `error` is true. If\n`errorText` is an empty string, then the supporting text will continue to\nshow.", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "label", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "required", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "value", | |
"description": "This is equal to `defaultValue` before user input.", | |
"summary": "The current value of the text field. It is always a string.", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "defaultValue", | |
"description": "When the text field is reset, its `value` will be set to this default\nvalue.", | |
"summary": "The default value of the text field. Before user input, changing the\ndefault value will update `value` as well.", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "prefixText", | |
"description": "An optional prefix to display before the input value.", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "suffixText", | |
"description": "An optional suffix to display after the input value.", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "hasLeadingIcon", | |
"description": "Whether or not the text field has a leading icon. Used for SSR.", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "hasTrailingIcon", | |
"description": "Whether or not the text field has a trailing icon. Used for SSR.", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "supportingText", | |
"description": "Conveys additional information below the text field, such as how it should\nbe used.", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "textDirection", | |
"description": "Override the input text CSS `direction`. Useful for RTL languages that use\nLTR notation for fractions.", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaAutoComplete", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "null" | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaControls", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "null" | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaActiveDescendant", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "null" | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaExpanded", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "null" | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaLabel", | |
"description": "The `aria-label` of the text field's input.", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "ariaLabelledBy", | |
"description": "Note: currently only usable in SSR light DOM.", | |
"summary": "The `aria-labelledby` of the text field's input.", | |
"privacy": "public", | |
"type": { "text": "string" } | |
}, | |
{ | |
"kind": "field", | |
"name": "role", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "null" | |
}, | |
{ | |
"kind": "field", | |
"name": "name", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "max", | |
"description": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#max", | |
"summary": "Defines the greatest value in the range of permitted values.", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "maxLength", | |
"description": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength", | |
"summary": "The maximum number of characters a user can enter into the text field. Set\nto -1 for none.", | |
"privacy": "public", | |
"type": { "text": "number" }, | |
"default": "-1" | |
}, | |
{ | |
"kind": "field", | |
"name": "min", | |
"description": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#min", | |
"summary": "Defines the most negative value in the range of permitted values.", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "minLength", | |
"description": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#minlength", | |
"summary": "The minimum number of characters a user can enter into the text field. Set\nto -1 for none.", | |
"privacy": "public", | |
"type": { "text": "number" }, | |
"default": "-1" | |
}, | |
{ | |
"kind": "field", | |
"name": "pattern", | |
"description": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#pattern", | |
"summary": "A regular expression that the text field's value must match to pass\nconstraint validation.", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "placeholder", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "readOnly", | |
"description": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#readonly", | |
"summary": "Indicates whether or not a user should be able to edit the text field's\nvalue.", | |
"privacy": "public", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "step", | |
"description": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#step", | |
"summary": "Returns or sets the element's step attribute, which works with min and max\nto limit the increments at which a numeric or date-time value can be set.", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "type", | |
"privacy": "public", | |
"type": { "text": "string" }, | |
"default": "'text'" | |
}, | |
{ | |
"kind": "field", | |
"name": "dirty", | |
"description": "Returns true when the text field has been interacted with. Native\nvalidation errors only display in response to user interactions.", | |
"privacy": "protected", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "focused", | |
"privacy": "protected", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "refreshErrorAlert", | |
"description": "When set to true, the error text's `role=\"alert\"` will be removed, then\nre-added after an animation frame. This will re-announce an error message\nto screen readers.", | |
"privacy": "protected", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "valueHasChanged", | |
"description": "Setting `value` should always overwrite `defaultValue`, even when `value`\nis an empty string. This flag ensures that behavior.", | |
"summary": "Returns true when the text field's `value` property has been changed from\nit's initial value.", | |
"privacy": "protected", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "ignoreNextValueChange", | |
"description": "Whether or not to ignore the next `value` change when computing\n`valueHasChanged`.", | |
"privacy": "protected", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "nativeError", | |
"description": "Whether or not a native error has been reported via `reportValidity()`.", | |
"privacy": "protected", | |
"type": { "text": "boolean" }, | |
"default": "false" | |
}, | |
{ | |
"kind": "field", | |
"name": "nativeErrorText", | |
"description": "The validation message displayed from a native error via\n`reportValidity()`.", | |
"privacy": "protected", | |
"type": { "text": "string" }, | |
"default": "''" | |
}, | |
{ | |
"kind": "field", | |
"name": "input", | |
"privacy": "protected", | |
"type": { | |
"text": "HTMLInputElement", | |
"references": [ | |
{ | |
"name": "HTMLInputElement", | |
"package": "global:", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "fieldTag", | |
"privacy": "protected", | |
"type": { | |
"text": "StaticValue", | |
"references": [ | |
{ | |
"name": "StaticValue", | |
"package": "lit", | |
"module": "static-html.js", | |
"start": 0, | |
"end": 11 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "counterId", | |
"privacy": "private", | |
"type": { "text": "string" }, | |
"default": "'counter'" | |
}, | |
{ | |
"kind": "field", | |
"name": "leadingIcons", | |
"privacy": "private", | |
"type": { | |
"text": "Element[]", | |
"references": [ | |
{ | |
"name": "Element", | |
"package": "global:", | |
"start": 0, | |
"end": 7 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "trailingIcons", | |
"privacy": "private", | |
"type": { | |
"text": "Element[]", | |
"references": [ | |
{ | |
"name": "Element", | |
"package": "global:", | |
"start": 0, | |
"end": 7 | |
} | |
] | |
} | |
}, | |
{ | |
"kind": "field", | |
"name": "supportingTextId", | |
"privacy": "private", | |
"type": { "text": "string" }, | |
"default": "'support'" | |
}, | |
{ | |
"kind": "method", | |
"name": "[getFormValue]", | |
"privacy": "public", | |
"return": { "type": { "text": "string" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "checkValidity", | |
"description": "If invalid, this method will dispatch the `invalid` event.\n\nhttps://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity", | |
"summary": "Checks the text field's native validation and returns whether or not the\nelement is valid.", | |
"privacy": "public", | |
"return": { | |
"type": { "text": "boolean" }, | |
"description": "true if the text field is valid, or false if not." | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "focus", | |
"description": "Focuses the text field's input text.", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "blur", | |
"description": "Unfocuses the text field.", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "reportValidity", | |
"description": "If invalid, this method will dispatch the `invalid` event.\n\nThis method will display or clear an error text message equal to the text\nfield's `validationMessage`, unless the invalid event is canceled.\n\nUse `setCustomValidity()` to customize the `validationMessage`.\n\nThis method can also be used to re-announce error messages to screen\nreaders.\n\nhttps://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity", | |
"summary": "Checks the text field's native validation and returns whether or not the\nelement is valid.", | |
"privacy": "public", | |
"return": { | |
"type": { "text": "boolean" }, | |
"description": "true if the text field is valid, or false if not." | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "select", | |
"description": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/select", | |
"summary": "Selects all the text in the text field.", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "setCustomValidity", | |
"description": "When the error is not an empty string, the text field is considered invalid\nand `validity.customError` will be true.\n\nhttps://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setCustomValidity", | |
"summary": "Sets the text field's native validation error message. This is used to\ncustomize `validationMessage`.", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "error", | |
"description": "The error message to display.", | |
"type": { "text": "string" } | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "setRangeText", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "args", | |
"type": { "text": "unknown[]" }, | |
"rest": true | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "setSelectionRange", | |
"description": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange", | |
"summary": "Sets the start and end positions of a selection in the text field.", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "start", | |
"description": "The offset into the text field for the start of the selection.", | |
"type": { "text": "number" } | |
}, | |
{ | |
"name": "end", | |
"description": "The offset into the text field for the end of the selection.", | |
"type": { "text": "number" } | |
}, | |
{ | |
"name": "direction", | |
"description": "The direction in which the selection is performed.", | |
"type": { "text": "string" }, | |
"optional": true | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "stepDown", | |
"description": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/stepDown", | |
"summary": "Decrements the value of a numeric type text field by `step` or `n` `step`\nnumber of times.", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "stepDecrement", | |
"description": "The number of steps to decrement, defaults to 1.", | |
"type": { "text": "number" }, | |
"optional": true | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "stepUp", | |
"description": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/stepUp", | |
"summary": "Increments the value of a numeric type text field by `step` or `n` `step`\nnumber of times.", | |
"privacy": "public", | |
"parameters": [ | |
{ | |
"name": "stepIncrement", | |
"description": "The number of steps to increment, defaults to 1.", | |
"type": { "text": "number" }, | |
"optional": true | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "reset", | |
"description": "Reset the text field to its default value.", | |
"privacy": "public", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "render", | |
"privacy": "public", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getRenderClasses", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "ClassInfo", | |
"references": [ | |
{ | |
"name": "ClassInfo", | |
"package": "lit", | |
"module": "directives/class-map.js", | |
"start": 0, | |
"end": 9 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getError", | |
"privacy": "protected", | |
"return": { "type": { "text": "boolean" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "renderField", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderLeadingIcon", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderTrailingIcon", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderInput", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getInputValue", | |
"privacy": "protected", | |
"return": { "type": { "text": "string" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "getAriaDescribedBy", | |
"privacy": "protected", | |
"return": { "type": { "text": "string" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "renderPrefix", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderSuffix", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "renderSupportingText", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "getSupportingText", | |
"privacy": "protected", | |
"return": { "type": { "text": "string" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "getErrorText", | |
"privacy": "protected", | |
"return": { "type": { "text": "string" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "shouldErrorAnnounce", | |
"privacy": "protected", | |
"return": { "type": { "text": "boolean" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "renderCounter", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "hasCounter", | |
"privacy": "protected", | |
"return": { "type": { "text": "boolean" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "getCounterText", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "TemplateResult<ResultType>", | |
"references": [ | |
{ | |
"name": "TemplateResult", | |
"package": "lit", | |
"start": 0, | |
"end": 14 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "update", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "changedProperties", | |
"type": { | |
"text": "PropertyValueMap<TextField>", | |
"references": [ | |
{ | |
"name": "PropertyValueMap", | |
"package": "lit", | |
"start": 0, | |
"end": 16 | |
}, | |
{ | |
"name": "TextField", | |
"package": "@material/web", | |
"module": "textfield/lib/text-field.js", | |
"start": 17, | |
"end": 26 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "updated", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "changedProperties", | |
"type": { | |
"text": "Map<PropertyKey, unknown> | PropertyValueMap<any>", | |
"references": [ | |
{ | |
"name": "Map", | |
"package": "global:", | |
"start": 0, | |
"end": 3 | |
}, | |
{ | |
"name": "PropertyKey", | |
"package": "global:", | |
"start": 4, | |
"end": 15 | |
}, | |
{ | |
"name": "PropertyValueMap", | |
"package": "lit", | |
"start": 28, | |
"end": 44 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleClick", | |
"privacy": "protected", | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleFocusin", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "event", | |
"type": { | |
"text": "FocusEvent", | |
"references": [ | |
{ | |
"name": "FocusEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 10 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleFocusout", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "event", | |
"type": { | |
"text": "FocusEvent", | |
"references": [ | |
{ | |
"name": "FocusEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 10 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "handleInput", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "event", | |
"type": { | |
"text": "InputEvent", | |
"references": [ | |
{ | |
"name": "InputEvent", | |
"package": "global:", | |
"start": 0, | |
"end": 10 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "redispatchEvent", | |
"privacy": "protected", | |
"parameters": [ | |
{ | |
"name": "event", | |
"type": { | |
"text": "Event", | |
"references": [ | |
{ | |
"name": "Event", | |
"package": "global:", | |
"start": 0, | |
"end": 5 | |
} | |
] | |
} | |
} | |
], | |
"return": { "type": { "text": "void" } } | |
}, | |
{ | |
"kind": "method", | |
"name": "getInput", | |
"privacy": "protected", | |
"return": { | |
"type": { | |
"text": "HTMLInputElement", | |
"references": [ | |
{ | |
"name": "HTMLInputElement", | |
"package": "global:", | |
"start": 0, | |
"end": 16 | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "checkValidityAndDispatch", | |
"privacy": "private", | |
"return": { | |
"type": { "text": "{ valid: boolean; canceled: boolean; }" } | |
} | |
}, | |
{ | |
"kind": "method", | |
"name": "handleIconChange", | |
"privacy": "private", | |
"return": { "type": { "text": "void" } } | |
} | |
], | |
"customElement": true | |
} | |
], | |
"exports": [ | |
{ | |
"kind": "js", | |
"name": "TextField", | |
"declaration": { "name": "TextField" } | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment