diff --git a/api-generator/components/splitbutton.js b/api-generator/components/splitbutton.js index e83b7f907..669b43666 100644 --- a/api-generator/components/splitbutton.js +++ b/api-generator/components/splitbutton.js @@ -94,6 +94,12 @@ const SplitButtonProps = [ type: 'string', default: 'null', description: 'Defines the size of the button, valid values are "small" and "large".' + }, + { + name: 'plain', + type: 'boolean', + default: 'false', + description: 'Add a plain textual class to the button without a background initially.' } ]; diff --git a/components/splitbutton/SplitButton.d.ts b/components/splitbutton/SplitButton.d.ts index 866d4860a..543805207 100755 --- a/components/splitbutton/SplitButton.d.ts +++ b/components/splitbutton/SplitButton.d.ts @@ -96,6 +96,11 @@ export interface SplitButtonProps { * Defines the size of the button. */ size?: 'small' | 'large' | undefined; + /** + * Add a plain textual class to the button without a background initially. + * @defaultValue false + */ + plain?: boolean | undefined; } /** diff --git a/components/splitbutton/SplitButton.vue b/components/splitbutton/SplitButton.vue index 023a7f55a..eca0f8458 100755 --- a/components/splitbutton/SplitButton.vue +++ b/components/splitbutton/SplitButton.vue @@ -100,6 +100,10 @@ export default { size: { type: String, default: null + }, + plain: { + type: Boolean, + default: false } }, data() {