diff --git a/src/components/base/collapse/collapse.documentation.js b/src/components/base/collapse/collapse.documentation.js index 757537d46afd95699195a43abffe4d8b3d5f6bba..c6264ccf9c5b1287a5354780597d2c80c336ffeb 100644 --- a/src/components/base/collapse/collapse.documentation.js +++ b/src/components/base/collapse/collapse.documentation.js @@ -23,6 +23,18 @@ export default { additionalInfo: 'Specify the HTML tag to render instead of the default tag', }, }, + events: [ + { + event: 'input', + description: 'Emitted when the visibility changes', + args: [ + { + arg: 'visible', + description: 'The visibility state', + }, + ], + }, + ], slots: [ { name: 'default', diff --git a/src/components/base/form/form_checkbox/form_checkbox.documentation.js b/src/components/base/form/form_checkbox/form_checkbox.documentation.js index 90157a0b2c78169c405aa9ea7ede466cf7df4517..32b63d7f574b8c835ecf45c88199cd0c3bfdf042 100644 --- a/src/components/base/form/form_checkbox/form_checkbox.documentation.js +++ b/src/components/base/form/form_checkbox/form_checkbox.documentation.js @@ -6,4 +6,16 @@ export default { examples, bootstrapComponent: 'b-form-checkbox', followsDesignSystem: true, + events: [ + { + event: 'input', + description: 'Emitted when checked state changes', + args: [ + { + arg: 'checked', + description: 'Whether the checkbox is checked', + }, + ], + }, + ], }; diff --git a/src/components/base/pagination/pagination.documentation.js b/src/components/base/pagination/pagination.documentation.js index ca464c67e7090b644bc42072dc5a8cff5d974c93..9e34bc7ec39b506d022bbc0ec88329dc9c111ee5 100644 --- a/src/components/base/pagination/pagination.documentation.js +++ b/src/components/base/pagination/pagination.documentation.js @@ -62,6 +62,18 @@ export default { 'Controls the component\'s horizontal alignment, value should be one of "left", "center", "right" or "fill"', }, }, + events: [ + { + event: 'input', + description: 'Emitted when the page changes', + args: [ + { + arg: 'value', + description: 'The page that just got loaded', + }, + ], + }, + ], slots: [ { name: 'previous', diff --git a/src/components/base/segmented_control/segmented_control.documentation.js b/src/components/base/segmented_control/segmented_control.documentation.js index 9c8450d786881077ce7310e5051c98ad47483c65..f90994e1de89555c2df76142442dd383973e788c 100644 --- a/src/components/base/segmented_control/segmented_control.documentation.js +++ b/src/components/base/segmented_control/segmented_control.documentation.js @@ -6,4 +6,16 @@ export default { description, examples, bootstrapComponent: 'b-form-radio-group', + events: [ + { + event: 'input', + description: 'Emitted when the selection changes', + args: [ + { + arg: 'checked', + description: 'The selected option', + }, + ], + }, + ], }; diff --git a/src/components/base/toggle/toggle.documentation.js b/src/components/base/toggle/toggle.documentation.js index a0b94a6fd0c05facf186c4f824b92bb5e9e757fa..9d69e2ea64bf44eba07fccb851cdbeeaf74b21d9 100644 --- a/src/components/base/toggle/toggle.documentation.js +++ b/src/components/base/toggle/toggle.documentation.js @@ -3,4 +3,16 @@ import examples from './examples'; export default { followsDesignSystem: true, examples, + events: [ + { + event: 'change', + description: 'Emitted when the state changes', + args: [ + { + arg: 'value', + description: 'Whether the toggle is in the enabled', + }, + ], + }, + ], };