|
11 | 11 | "components": [ |
12 | 12 | { |
13 | 13 | "component": "BToast", |
| 14 | + "props": [ |
| 15 | + { |
| 16 | + "prop": "title", |
| 17 | + "description": "The toast's title text" |
| 18 | + }, |
| 19 | + { |
| 20 | + "prop": "toaster", |
| 21 | + "description": "The name of the toaster target to render the toast in" |
| 22 | + }, |
| 23 | + { |
| 24 | + "prop": "visible", |
| 25 | + "description": "When true, shows the toast" |
| 26 | + }, |
| 27 | + { |
| 28 | + "prop": "isStatus", |
| 29 | + "description": "When set to 'true', makes the toast have attributes aria-live=polite and role=status. When 'false' aria-live will be 'assertive' and role will be 'alert'" |
| 30 | + }, |
| 31 | + { |
| 32 | + "prop": "appendToast", |
| 33 | + "description": "When true, the toast will be appended to the bottom on the visible toasts, otherwise it will be prepended" |
| 34 | + }, |
| 35 | + { |
| 36 | + "prop": "noAutoHide", |
| 37 | + "description": "When set, disabled the toast from automatically dismissing itself" |
| 38 | + }, |
| 39 | + { |
| 40 | + "prop": "autoHideDelay", |
| 41 | + "description": "The number of milliseconds before the toast auto dismisses itself" |
| 42 | + }, |
| 43 | + { |
| 44 | + "prop": "noCloseButton", |
| 45 | + "description": "When set, hides the close button in the toast header" |
| 46 | + }, |
| 47 | + { |
| 48 | + "prop": "noHoverPause", |
| 49 | + "description": "When set, disables the pausing of hte auto hide delay when the mouse hovers the toast" |
| 50 | + }, |
| 51 | + { |
| 52 | + "prop": "solid", |
| 53 | + "description": "When set, renderes the toast with a solid background rather than translucent" |
| 54 | + }, |
| 55 | + { |
| 56 | + "prop": "toastClass", |
| 57 | + "description": "CSS class (or classes) to add to the toast wrapper element" |
| 58 | + }, |
| 59 | + { |
| 60 | + "prop": "headerClass", |
| 61 | + "description": "CSS class (or classes) to add to the toast header element" |
| 62 | + }, |
| 63 | + { |
| 64 | + "prop": "bodyClass", |
| 65 | + "description": "CSS class (or classes) to add to the toast body element" |
| 66 | + } |
| 67 | + ], |
14 | 68 | "events": [ |
15 | 69 | { |
16 | 70 | "event": "change", |
|
94 | 148 | ] |
95 | 149 | }, |
96 | 150 | { |
97 | | - "component": "BToaster" |
| 151 | + "component": "BToaster", |
| 152 | + "props": [ |
| 153 | + { |
| 154 | + "prop": "name", |
| 155 | + "description": "The toaster's target name" |
| 156 | + }, |
| 157 | + { |
| 158 | + "prop": "aria-atomic", |
| 159 | + "description": "When screen reader's should read out the entire contents (set to string 'true') or just the changes (set to string 'false'). Leave blank for most cases" |
| 160 | + } |
| 161 | + ] |
98 | 162 | } |
99 | 163 | ] |
100 | 164 | } |
|
0 commit comments