@3mo/split-button
Version:
A split-button web-component based on Material Web Components.
135 lines • 3.3 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": "type",
"description": "The type of the buttons, which is passed down to the button-group.",
"type": "ButtonType.Text | ButtonType.Outlined | ButtonType.Tonal | ButtonType.Filled",
"default": "\"filled\""
},
{
"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": "type",
"attribute": "type",
"description": "The type of the buttons, which is passed down to the button-group.",
"type": "ButtonType.Text | ButtonType.Outlined | ButtonType.Tonal | ButtonType.Filled",
"default": "\"filled\""
},
{
"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": "type",
"description": "The type of the buttons, which is passed down to the button-group.",
"type": "ButtonType.Text | ButtonType.Outlined | ButtonType.Tonal | ButtonType.Filled"
},
{
"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": "type",
"attribute": "type",
"description": "The type of the buttons, which is passed down to the button-group.",
"type": "ButtonType.Text | ButtonType.Outlined | ButtonType.Tonal | ButtonType.Filled"
},
{
"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."
}
]
}
]
}