@3mo/split-button
Version:
A split-button web-component based on Material Web Components.
111 lines • 2.33 kB
JSON
{
"version": "experimental",
"tags": [
{
"name": "mo-split-button",
"path": ".\\packages\\SplitButton\\SplitButton.ts",
"attributes": [
{
"name": "open",
"description": "Whether the menu is open.",
"type": "boolean",
"default": "false"
},
{
"name": "disabled",
"description": "Whether the \"more\" button is disabled.",
"type": "boolean",
"default": "false"
}
],
"properties": [
{
"name": "openChange",
"type": "EventDispatcher<boolean>"
},
{
"name": "open",
"attribute": "open",
"description": "Whether the menu is open.",
"type": "boolean",
"default": "false"
},
{
"name": "disabled",
"attribute": "disabled",
"description": "Whether the \"more\" button is disabled.",
"type": "boolean",
"default": "false"
}
],
"events": [
{
"name": "openChange",
"description": "Dispatched when the menu is opened or closed.",
"type": "CustomEvent<boolean>"
}
],
"slots": [
{
"name": "",
"description": "The content of the button."
},
{
"name": "more",
"description": "The content of the more menu."
}
]
},
{
"name": "mo-split-button",
"path": ".\\packages\\SplitButton\\dist\\SplitButton.d.ts",
"attributes": [
{
"name": "open",
"description": "Whether the menu is open.",
"type": "boolean"
},
{
"name": "disabled",
"description": "Whether the \"more\" button is disabled.",
"type": "boolean"
}
],
"properties": [
{
"name": "openChange",
"type": "EventDispatcher<boolean>"
},
{
"name": "open",
"attribute": "open",
"description": "Whether the menu is open.",
"type": "boolean"
},
{
"name": "disabled",
"attribute": "disabled",
"description": "Whether the \"more\" button is disabled.",
"type": "boolean"
}
],
"events": [
{
"name": "openChange",
"description": "Dispatched when the menu is opened or closed.",
"type": "CustomEvent<boolean>"
}
],
"slots": [
{
"name": "",
"description": "The content of the button."
},
{
"name": "more",
"description": "The content of the more menu."
}
]
}
]
}