@spectrum-web-components/picker
Version:
An `<sp-picker>` is an alternative to HTML's `<select>` element. Use [`<sp-menu-item>`](../menu-item) elements to outline the options that will be made available to the user when interacting with the `<sp-picker>` element.
1,786 lines • 98.3 kB
JSON
{
"schemaVersion": "1.0.0",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "sp-picker.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "sp-picker",
"declaration": {
"name": "Picker",
"module": "/src/Picker.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "sync/sp-picker.js",
"declarations": [],
"exports": []
},
{
"kind": "javascript-module",
"path": "src/DesktopController.js",
"declarations": [
{
"kind": "class",
"description": "",
"name": "DesktopController",
"members": [
{
"kind": "field",
"name": "type",
"type": {
"text": "InteractionTypes"
},
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "method",
"name": "handlePointerdown",
"privacy": "public",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "event",
"type": {
"text": "PointerEvent"
}
}
],
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "method",
"name": "handleActivate",
"privacy": "public",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "event",
"optional": true,
"type": {
"text": "Event"
}
}
],
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "method",
"name": "init",
"return": {
"type": {
"text": "void"
}
},
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "field",
"name": "abortController",
"type": {
"text": "AbortController"
},
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "field",
"name": "preventNextToggle",
"type": {
"text": "'no' | 'maybe' | 'yes'"
},
"privacy": "public",
"default": "'no'",
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "field",
"name": "pointerdownState",
"type": {
"text": "boolean"
},
"privacy": "public",
"default": "false",
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "field",
"name": "enterKeydownOn",
"type": {
"text": "EventTarget | null"
},
"privacy": "public",
"default": "null",
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "field",
"name": "container",
"type": {
"text": "TemplateResult"
},
"privacy": "public",
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "field",
"name": "activelyOpening",
"type": {
"text": "boolean"
},
"readonly": true,
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "field",
"name": "_open",
"type": {
"text": "boolean"
},
"privacy": "private",
"default": "false",
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "field",
"name": "open",
"type": {
"text": "boolean"
},
"privacy": "public",
"description": "Set `open`",
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "field",
"name": "_overlay",
"type": {
"text": "AbstractOverlay"
},
"privacy": "private",
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "field",
"name": "overlay",
"type": {
"text": "AbstractOverlay"
},
"privacy": "public",
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "method",
"name": "releaseDescription",
"return": {
"type": {
"text": "void"
}
},
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "method",
"name": "handleBeforetoggle",
"privacy": "protected",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "event",
"type": {
"text": "Event & {\n target: Overlay;\n newState: 'open' | 'closed';\n }"
}
}
],
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "method",
"name": "initOverlay",
"return": {
"type": {
"text": "void"
}
},
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "method",
"name": "handleButtonFocus",
"privacy": "public",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "event",
"type": {
"text": "FocusEvent"
}
}
],
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "method",
"name": "abort",
"return": {
"type": {
"text": "void"
}
},
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "method",
"name": "hostConnected",
"return": {
"type": {
"text": "void"
}
},
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "method",
"name": "hostDisconnected",
"return": {
"type": {
"text": "void"
}
},
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "method",
"name": "hostUpdated",
"privacy": "public",
"return": {
"type": {
"text": "void"
}
},
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "field",
"name": "target",
"default": "target",
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "field",
"name": "host",
"default": "host",
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
}
],
"superclass": {
"name": "InteractionController",
"module": "/src/InteractionController.js"
}
}
],
"exports": [
{
"kind": "js",
"name": "DesktopController",
"declaration": {
"name": "DesktopController",
"module": "src/DesktopController.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "src/InteractionController.js",
"declarations": [
{
"kind": "variable",
"name": "SAFARI_FOCUS_RING_CLASS",
"type": {
"text": "string"
},
"default": "'remove-focus-ring-safari-hack'"
},
{
"kind": "class",
"description": "",
"name": "InteractionController",
"members": [
{
"kind": "field",
"name": "abortController",
"type": {
"text": "AbortController"
}
},
{
"kind": "field",
"name": "preventNextToggle",
"type": {
"text": "'no' | 'maybe' | 'yes'"
},
"privacy": "public",
"default": "'no'"
},
{
"kind": "field",
"name": "pointerdownState",
"type": {
"text": "boolean"
},
"privacy": "public",
"default": "false"
},
{
"kind": "field",
"name": "enterKeydownOn",
"type": {
"text": "EventTarget | null"
},
"privacy": "public",
"default": "null"
},
{
"kind": "field",
"name": "container",
"type": {
"text": "TemplateResult"
},
"privacy": "public"
},
{
"kind": "field",
"name": "activelyOpening",
"type": {
"text": "boolean"
},
"readonly": true
},
{
"kind": "field",
"name": "_open",
"type": {
"text": "boolean"
},
"privacy": "private",
"default": "false"
},
{
"kind": "field",
"name": "open",
"type": {
"text": "boolean"
},
"privacy": "public",
"description": "Set `open`"
},
{
"kind": "field",
"name": "_overlay",
"type": {
"text": "AbstractOverlay"
},
"privacy": "private"
},
{
"kind": "field",
"name": "overlay",
"type": {
"text": "AbstractOverlay"
},
"privacy": "public"
},
{
"kind": "field",
"name": "type",
"type": {
"text": "InteractionTypes"
}
},
{
"kind": "method",
"name": "releaseDescription",
"return": {
"type": {
"text": "void"
}
}
},
{
"kind": "method",
"name": "handleBeforetoggle",
"privacy": "protected",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "event",
"type": {
"text": "Event & {\n target: Overlay;\n newState: 'open' | 'closed';\n }"
}
}
]
},
{
"kind": "method",
"name": "initOverlay",
"return": {
"type": {
"text": "void"
}
}
},
{
"kind": "method",
"name": "handlePointerdown",
"privacy": "public",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "_event",
"type": {
"text": "PointerEvent"
}
}
]
},
{
"kind": "method",
"name": "handleButtonFocus",
"privacy": "public",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "event",
"type": {
"text": "FocusEvent"
}
}
]
},
{
"kind": "method",
"name": "handleActivate",
"privacy": "public",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "_event",
"type": {
"text": "Event"
}
}
]
},
{
"kind": "method",
"name": "init",
"return": {
"type": {
"text": "void"
}
}
},
{
"kind": "method",
"name": "abort",
"return": {
"type": {
"text": "void"
}
}
},
{
"kind": "method",
"name": "hostConnected",
"return": {
"type": {
"text": "void"
}
}
},
{
"kind": "method",
"name": "hostDisconnected",
"return": {
"type": {
"text": "void"
}
}
},
{
"kind": "method",
"name": "hostUpdated",
"privacy": "public",
"return": {
"type": {
"text": "void"
}
}
},
{
"kind": "field",
"name": "target",
"default": "target"
},
{
"kind": "field",
"name": "host",
"default": "host"
}
]
}
],
"exports": [
{
"kind": "js",
"name": "SAFARI_FOCUS_RING_CLASS",
"declaration": {
"name": "SAFARI_FOCUS_RING_CLASS",
"module": "src/InteractionController.js"
}
},
{
"kind": "js",
"name": "InteractionController",
"declaration": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "src/MobileController.js",
"declarations": [
{
"kind": "class",
"description": "",
"name": "MobileController",
"members": [
{
"kind": "field",
"name": "type",
"type": {
"text": "InteractionTypes"
},
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "method",
"name": "handleClick",
"return": {
"type": {
"text": "void"
}
}
},
{
"kind": "method",
"name": "handlePointerdown",
"privacy": "public",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "_event",
"type": {
"text": "PointerEvent"
}
}
],
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "method",
"name": "handleFocusOut",
"privacy": "private",
"return": {
"type": {
"text": "void"
}
}
},
{
"kind": "method",
"name": "init",
"return": {
"type": {
"text": "void"
}
},
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "field",
"name": "abortController",
"type": {
"text": "AbortController"
},
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "field",
"name": "preventNextToggle",
"type": {
"text": "'no' | 'maybe' | 'yes'"
},
"privacy": "public",
"default": "'no'",
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "field",
"name": "pointerdownState",
"type": {
"text": "boolean"
},
"privacy": "public",
"default": "false",
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "field",
"name": "enterKeydownOn",
"type": {
"text": "EventTarget | null"
},
"privacy": "public",
"default": "null",
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "field",
"name": "container",
"type": {
"text": "TemplateResult"
},
"privacy": "public",
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "field",
"name": "activelyOpening",
"type": {
"text": "boolean"
},
"readonly": true,
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "field",
"name": "_open",
"type": {
"text": "boolean"
},
"privacy": "private",
"default": "false",
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "field",
"name": "open",
"type": {
"text": "boolean"
},
"privacy": "public",
"description": "Set `open`",
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "field",
"name": "_overlay",
"type": {
"text": "AbstractOverlay"
},
"privacy": "private",
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "field",
"name": "overlay",
"type": {
"text": "AbstractOverlay"
},
"privacy": "public",
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "method",
"name": "releaseDescription",
"return": {
"type": {
"text": "void"
}
},
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "method",
"name": "handleBeforetoggle",
"privacy": "protected",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "event",
"type": {
"text": "Event & {\n target: Overlay;\n newState: 'open' | 'closed';\n }"
}
}
],
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "method",
"name": "initOverlay",
"return": {
"type": {
"text": "void"
}
},
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "method",
"name": "handleButtonFocus",
"privacy": "public",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "event",
"type": {
"text": "FocusEvent"
}
}
],
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "method",
"name": "handleActivate",
"privacy": "public",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "_event",
"type": {
"text": "Event"
}
}
],
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "method",
"name": "abort",
"return": {
"type": {
"text": "void"
}
},
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "method",
"name": "hostConnected",
"return": {
"type": {
"text": "void"
}
},
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "method",
"name": "hostDisconnected",
"return": {
"type": {
"text": "void"
}
},
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "method",
"name": "hostUpdated",
"privacy": "public",
"return": {
"type": {
"text": "void"
}
},
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "field",
"name": "target",
"default": "target",
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
},
{
"kind": "field",
"name": "host",
"default": "host",
"inheritedFrom": {
"name": "InteractionController",
"module": "src/InteractionController.js"
}
}
],
"superclass": {
"name": "InteractionController",
"module": "/src/InteractionController.js"
}
}
],
"exports": [
{
"kind": "js",
"name": "MobileController",
"declaration": {
"name": "MobileController",
"module": "src/MobileController.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "src/Picker.js",
"declarations": [
{
"kind": "variable",
"name": "DESCRIPTION_ID",
"type": {
"text": "string"
},
"default": "'option-picker'"
},
{
"kind": "class",
"description": "",
"name": "PickerBase",
"slots": [
{
"description": "The placeholder content for the Picker",
"name": "label"
},
{
"description": "The description content for the Picker",
"name": "description"
},
{
"description": "Tooltip to to be applied to the the Picker Button",
"name": "tooltip"
},
{
"description": "menu items to be listed in the Picker",
"name": ""
}
],
"members": [
{
"kind": "field",
"name": "shadowRootOptions",
"type": {
"text": "object"
},
"static": true,
"default": "{\n ...SpectrumElement.shadowRootOptions,\n delegatesFocus: true,\n }"
},
{
"kind": "field",
"name": "isMobile",
"privacy": "public",
"default": "new MatchMediaController(this, IS_MOBILE)"
},
{
"kind": "field",
"name": "strategy",
"type": {
"text": "DesktopController | MobileController"
},
"privacy": "public"
},
{
"kind": "field",
"name": "appliedLabel",
"type": {
"text": "string | undefined"
}
},
{
"kind": "field",
"name": "button",
"type": {
"text": "HTMLButtonElement"
},
"privacy": "public"
},
{
"kind": "field",
"name": "dependencyManager",
"privacy": "public",
"default": "new DependencyManagerController(this)"
},
{
"kind": "field",
"name": "deprecatedMenu",
"type": {
"text": "Menu | null"
},
"privacy": "private",
"default": "null"
},
{
"kind": "field",
"name": "disabled",
"type": {
"text": "boolean"
},
"privacy": "public",
"default": "false",
"attribute": "disabled",
"reflects": true
},
{
"kind": "field",
"name": "focused",
"type": {
"text": "boolean"
},
"privacy": "public",
"default": "false",
"attribute": "focused",
"reflects": true
},
{
"kind": "field",
"name": "icons",
"type": {
"text": "'only' | 'none' | undefined"
},
"privacy": "public",
"attribute": "icons",
"reflects": true
},
{
"kind": "field",
"name": "invalid",
"type": {
"text": "boolean"
},
"privacy": "public",
"default": "false",
"attribute": "invalid",
"reflects": true
},
{
"kind": "field",
"name": "forcePopover",
"type": {
"text": "boolean"
},
"privacy": "public",
"default": "false",
"description": "Forces the Picker to render as a popover on mobile instead of a tray.",
"attribute": "force-popover",
"reflects": true
},
{
"kind": "field",
"name": "pending",
"type": {
"text": "boolean"
},
"privacy": "public",
"default": "false",
"description": "Whether the items are currently loading.",
"attribute": "pending",
"reflects": true
},
{
"kind": "field",
"name": "pendingLabel",
"type": {
"text": "string"
},
"privacy": "public",
"default": "'Pending'",
"description": "Defines a string value that labels the Picker while it is in pending state.",
"attribute": "pending-label"
},
{
"kind": "field",
"name": "label",
"type": {
"text": "string | undefined"
},
"privacy": "public",
"attribute": "label"
},
{
"kind": "field",
"name": "open",
"type": {
"text": "boolean"
},
"privacy": "public",
"default": "false",
"attribute": "open",
"reflects": true
},
{
"kind": "field",
"name": "readonly",
"type": {
"text": "boolean"
},
"privacy": "public",
"default": "false",
"attribute": "readonly",
"reflects": true
},
{
"kind": "field",
"name": "selects",
"type": {
"text": "undefined | 'single'"
},
"privacy": "public",
"default": "'single'"
},
{
"kind": "field",
"name": "labelAlignment",
"type": {
"text": "'inline' | undefined"
},
"privacy": "public"
},
{
"kind": "field",
"name": "menuItems",
"type": {
"text": "MenuItem[]"
},
"privacy": "protected",
"readonly": true
},
{
"kind": "field",
"name": "optionsMenu",
"type": {
"text": "Menu"
},
"privacy": "public"
},
{
"kind": "field",
"name": "selfManageFocusElement",
"type": {
"text": "boolean"
},
"privacy": "public",
"deprecated": "true",
"readonly": true
},
{
"kind": "field",
"name": "overlayElement",
"type": {
"text": "Overlay"
},
"privacy": "public"
},
{
"kind": "field",
"name": "tooltipEl",
"type": {
"text": "Tooltip | undefined"
},
"privacy": "protected"
},
{
"kind": "field",
"name": "placement",
"type": {
"text": "\"top\" | \"top-start\" | \"top-end\" | \"right\" | \"right-start\" | \"right-end\" | \"bottom\" | \"bottom-start\" | \"bottom-end\" | \"left\" | \"left-start\" | \"left-end\""
},
"privacy": "public",
"default": "'bottom-start'",
"attribute": "placement"
},
{
"kind": "field",
"name": "quiet",
"type": {
"text": "boolean"
},
"privacy": "public",
"default": "false",
"attribute": "quiet",
"reflects": true
},
{
"kind": "field",
"name": "value",
"type": {
"text": "string"
},
"privacy": "public",
"default": "''",
"attribute": "value"
},
{
"kind": "field",
"name": "selectedItem",
"type": {
"text": "MenuItem | undefined"
},
"privacy": "public"
},
{
"kind": "field",
"name": "pendingStateController",
"type": {
"text": "PendingStateController<this>"
},
"privacy": "public",
"default": "new PendingStateController(this)"
},
{
"kind": "field",
"name": "_selectedItem",
"type": {
"text": "MenuItem | undefined"
}
},
{
"kind": "field",
"name": "listRole",
"type": {
"text": "'listbox' | 'menu'"
},
"privacy": "protected",
"default": "'listbox'"
},
{
"kind": "field",
"name": "itemRole",
"type": {
"text": "string"
},
"privacy": "protected",
"default": "'option'"
},
{
"kind": "field",
"name": "focusElement",
"type": {
"text": "HTMLElement"
},
"privacy": "public",
"readonly": true
},
{
"kind": "method",
"name": "forceFocusVisible",
"privacy": "public",
"return": {
"type": {
"text": "void"
}
}
},
{
"kind": "method",
"name": "click",
"privacy": "public",
"return": {
"type": {
"text": "void"
}
}
},
{
"kind": "method",
"name": "handleButtonClick",
"privacy": "public",
"return": {
"type": {
"text": "void"
}
}
},
{
"kind": "method",
"name": "handleButtonBlur",
"privacy": "public",
"return": {
"type": {
"text": "void"
}
}
},
{
"kind": "method",
"name": "focus",
"privacy": "public",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "options",
"optional": true,
"type": {
"text": "FocusOptions"
}
}
]
},
{
"kind": "method",
"name": "handleHelperFocus",
"privacy": "public",
"return": {
"type": {
"text": "void"
}
},
"deprecated": "- Use `focus` instead."
},
{
"kind": "method",
"name": "handleFocus",
"privacy": "public",
"return": {
"type": {
"text": "void"
}
}
},
{
"kind": "method",
"name": "handleChange",
"privacy": "public",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "event",
"type": {
"text": "Event"
}
}
]
},
{
"kind": "method",
"name": "handleButtonFocus",
"privacy": "public",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "event",
"type": {
"text": "FocusEvent"
}
}
]
},
{
"kind": "field",
"name": "handleEscape",
"privacy": "protected"
},
{
"kind": "field",
"name": "handleKeydown",
"privacy": "protected"
},
{
"kind": "method",
"name": "keyboardOpen",
"privacy": "protected",
"return": {
"type": {
"text": "Promise<void>"
}
}
},
{
"kind": "method",
"name": "setValueFromItem",
"privacy": "protected",
"return": {
"type": {
"text": "Promise<void>"
}
},
"parameters": [
{
"name": "item",
"type": {
"text": "MenuItem"
}
},
{
"name": "menuChangeEvent",
"optional": true,
"type": {
"text": "Event"
}
}
]
},
{
"kind": "method",
"name": "setMenuItemSelected",
"privacy": "protected",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "item",
"type": {
"text": "MenuItem"
}
},
{
"name": "value",
"type": {
"text": "boolean"
}
}
]
},
{
"kind": "method",
"name": "toggle",
"privacy": "public",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "target",
"optional": true,
"type": {
"text": "boolean"
}
}
]
},
{
"kind": "method",
"name": "close",
"privacy": "public",
"return": {
"type": {
"text": "void"
}
}
},
{
"kind": "field",
"name": "containerStyles",
"type": {
"text": "StyleInfo"
},
"privacy": "protected",
"readonly": true
},
{
"kind": "field",
"name": "selectedItemContent",
"type": {
"text": "MenuItemChildren"
},
"privacy": "protected"
},
{
"kind": "field",
"name": "_selectedItemContent",
"type": {
"text": "MenuItemChildren | undefined"
}
},
{
"kind": "method",
"name": "handleTooltipSlotchange",
"privacy": "protected",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "event",
"type": {
"text": "Event & { target: HTMLSlotElement }"
}
}
]
},
{
"kind": "field",
"name": "handleSlottableRequest",
"privacy": "public"
},
{
"kind": "method",
"name": "renderLabelContent",
"privacy": "protected",
"return": {
"type": {
"text": "TemplateResult | Node[]"
}
},
"parameters": [
{
"name": "content",
"type": {
"text": "Node[]"
}
}
]
},
{
"kind": "field",
"name": "buttonContent",
"type": {
"text": "TemplateResult[]"
},
"privacy": "protected",
"readonly": true
},
{
"kind": "field",
"name": "applyFocusElementLabel"
},
{
"kind": "method",
"name": "hasAccessibleLabel",
"privacy": "protected",
"return": {
"type": {
"text": "boolean"
}
}
},
{
"kind": "method",
"name": "warnNoLabel",
"privacy": "protected",
"return": {
"type": {
"text": "void"
}
}
},
{
"kind": "method",
"name": "renderOverlay",
"privacy": "protected",
"return": {
"type": {
"text": "TemplateResult"
}
},
"parameters": [
{
"name": "menu",
"type": {
"text": "TemplateResult"
}
}
]
},
{
"kind": "field",
"name": "renderDescriptionSlot",
"type": {
"text": "TemplateResult"
},
"privacy": "protected",
"readonly": true
},
{
"kind": "method",
"name": "bindButtonKeydownListener",
"privacy": "protected",
"return": {
"type": {
"text": "void"
}
}
},
{
"kind": "field",
"name": "dismissHelper",
"type": {
"text": "TemplateResult"
},
"privacy": "protected",
"readonly": true
},
{
"kind": "method",
"name": "renderContainer",
"privacy": "protected",
"return": {
"type": {
"text": "TemplateResult"
}
},
"parameters": [
{
"name": "menu",
"type": {
"text": "TemplateResult"
}
}
]
},
{
"kind": "field",
"name": "hasRenderedOverlay",
"type": {
"text": "boolean"
},
"privacy": "protected",
"default": "false"
},
{
"kind": "method",
"name": "onScroll",
"privacy": "private",
"return": {
"type": {
"text": "void"
}
}
},
{
"kind": "field",
"name": "renderMenu",
"type": {
"text": "TemplateResult"
},
"privacy": "protected",
"readonly": true
},
{
"kind":