@exhaustive-ui/mcp 22.5.0 → 22.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/cards/accordion.md +5 -2
- package/data/cards/animateonscroll.md +8 -5
- package/data/cards/autocomplete.md +8 -3
- package/data/cards/autofocus.md +4 -2
- package/data/cards/avatar.md +4 -2
- package/data/cards/badge.md +2 -1
- package/data/cards/breadcrumb.md +3 -1
- package/data/cards/button.md +8 -2
- package/data/cards/card.md +2 -1
- package/data/cards/carousel.md +7 -5
- package/data/cards/cascadeselect.md +2 -6
- package/data/cards/chart.md +9 -7
- package/data/cards/checkbox.md +4 -3
- package/data/cards/chip.md +2 -1
- package/data/cards/classnames.md +21 -3
- package/data/cards/colorpicker.md +2 -1
- package/data/cards/confirmdialog.md +35 -5
- package/data/cards/confirmpopup.md +25 -3
- package/data/cards/contextmenu.md +1 -7
- package/data/cards/dataview.md +28 -9
- package/data/cards/datepicker.md +4 -3
- package/data/cards/dialog.md +3 -3
- package/data/cards/divider.md +2 -1
- package/data/cards/dock.md +24 -3
- package/data/cards/dragdrop.md +5 -1
- package/data/cards/drawer.md +3 -3
- package/data/cards/dynamicdialog.md +41 -14
- package/data/cards/editor.md +1 -1
- package/data/cards/fieldset.md +2 -1
- package/data/cards/fileinput.md +1 -1
- package/data/cards/fileupload.md +7 -8
- package/data/cards/floatlabel.md +1 -1
- package/data/cards/fluid.md +7 -5
- package/data/cards/focustrap.md +6 -2
- package/data/cards/galleria.md +18 -25
- package/data/cards/iconfield.md +3 -2
- package/data/cards/iftalabel.md +1 -1
- package/data/cards/image.md +4 -2
- package/data/cards/imagecompare.md +4 -3
- package/data/cards/inplace.md +2 -1
- package/data/cards/inputgroup.md +14 -3
- package/data/cards/inputmask.md +2 -2
- package/data/cards/inputnumber.md +4 -3
- package/data/cards/inputotp.md +2 -2
- package/data/cards/inputtext.md +2 -2
- package/data/cards/keyfilter.md +2 -1
- package/data/cards/knob.md +3 -2
- package/data/cards/listbox.md +5 -3
- package/data/cards/megamenu.md +7 -8
- package/data/cards/menu.md +3 -7
- package/data/cards/menubar.md +3 -7
- package/data/cards/message.md +2 -1
- package/data/cards/metergroup.md +3 -7
- package/data/cards/multiselect.md +5 -9
- package/data/cards/orderlist.md +6 -4
- package/data/cards/organizationchart.md +33 -6
- package/data/cards/overlay.md +2 -1
- package/data/cards/paginator.md +2 -1
- package/data/cards/panel.md +2 -1
- package/data/cards/panelmenu.md +4 -13
- package/data/cards/password.md +6 -3
- package/data/cards/picklist.md +9 -5
- package/data/cards/popover.md +6 -5
- package/data/cards/progressbar.md +4 -3
- package/data/cards/progressspinner.md +2 -1
- package/data/cards/radiobutton.md +4 -3
- package/data/cards/rating.md +1 -1
- package/data/cards/ripple.md +2 -1
- package/data/cards/scrollpanel.md +2 -1
- package/data/cards/scrolltop.md +5 -3
- package/data/cards/select.md +2 -1
- package/data/cards/selectbutton.md +6 -2
- package/data/cards/skeleton.md +2 -1
- package/data/cards/slider.md +4 -3
- package/data/cards/speeddial.md +7 -4
- package/data/cards/splitbutton.md +21 -18
- package/data/cards/splitter.md +2 -1
- package/data/cards/stepper.md +8 -3
- package/data/cards/styleclass.md +4 -2
- package/data/cards/table.md +46 -11
- package/data/cards/tabs.md +2 -1
- package/data/cards/tag.md +2 -1
- package/data/cards/terminal.md +31 -22
- package/data/cards/textarea.md +3 -2
- package/data/cards/tieredmenu.md +1 -6
- package/data/cards/timeline.md +5 -5
- package/data/cards/toast.md +7 -8
- package/data/cards/togglebutton.md +1 -1
- package/data/cards/toggleswitch.md +4 -3
- package/data/cards/toolbar.md +8 -8
- package/data/cards/tooltip.md +2 -1
- package/data/cards/tree.md +3 -6
- package/data/cards/treeselect.md +6 -7
- package/data/cards/treetable.md +52 -31
- package/data/components/accordion.md +31 -23
- package/data/components/animateonscroll.md +18 -15
- package/data/components/autocomplete.md +162 -93
- package/data/components/autofocus.md +9 -7
- package/data/components/avatar.md +56 -43
- package/data/components/badge.md +27 -18
- package/data/components/blockui.md +15 -8
- package/data/components/breadcrumb.md +20 -14
- package/data/components/button.md +121 -94
- package/data/components/card.md +12 -10
- package/data/components/carousel.md +75 -53
- package/data/components/cascadeselect.md +271 -238
- package/data/components/chart.md +88 -74
- package/data/components/checkbox.md +107 -73
- package/data/components/chip.md +20 -16
- package/data/components/classnames.md +22 -4
- package/data/components/colorpicker.md +54 -36
- package/data/components/confirmdialog.md +146 -43
- package/data/components/confirmpopup.md +95 -22
- package/data/components/contextmenu.md +110 -39
- package/data/components/dataview.md +176 -83
- package/data/components/datepicker.md +171 -141
- package/data/components/dialog.md +80 -68
- package/data/components/divider.md +17 -12
- package/data/components/dock.md +63 -27
- package/data/components/dragdrop.md +26 -12
- package/data/components/drawer.md +67 -48
- package/data/components/dynamicdialog.md +22 -13
- package/data/components/editor.md +42 -33
- package/data/components/fieldset.md +20 -17
- package/data/components/fileinput.md +92 -35
- package/data/components/fileupload.md +101 -61
- package/data/components/floatlabel.md +20 -11
- package/data/components/fluid.md +11 -9
- package/data/components/focustrap.md +11 -7
- package/data/components/galleria.md +224 -83
- package/data/components/iconfield.md +23 -15
- package/data/components/iftalabel.md +15 -9
- package/data/components/image.md +31 -26
- package/data/components/imagecompare.md +8 -6
- package/data/components/inplace.md +27 -22
- package/data/components/inputgroup.md +53 -29
- package/data/components/inputmask.md +107 -85
- package/data/components/inputnumber.md +127 -89
- package/data/components/inputotp.md +55 -42
- package/data/components/inputtext.md +72 -50
- package/data/components/keyfilter.md +6 -3
- package/data/components/knob.md +70 -58
- package/data/components/listbox.md +171 -141
- package/data/components/megamenu.md +24 -23
- package/data/components/menu.md +37 -34
- package/data/components/menubar.md +27 -22
- package/data/components/message.md +44 -32
- package/data/components/metergroup.md +48 -17
- package/data/components/multiselect.md +232 -168
- package/data/components/orderlist.md +55 -48
- package/data/components/organizationchart.md +182 -13
- package/data/components/overlay.md +31 -26
- package/data/components/paginator.md +49 -34
- package/data/components/panel.md +23 -19
- package/data/components/panelmenu.md +51 -25
- package/data/components/password.md +104 -91
- package/data/components/picklist.md +92 -70
- package/data/components/popover.md +68 -46
- package/data/components/progressbar.md +28 -22
- package/data/components/progressspinner.md +13 -11
- package/data/components/radiobutton.md +69 -35
- package/data/components/rating.md +48 -40
- package/data/components/ripple.md +8 -6
- package/data/components/scroller.md +29 -29
- package/data/components/scrollpanel.md +9 -7
- package/data/components/scrolltop.md +20 -18
- package/data/components/select.md +248 -169
- package/data/components/selectbutton.md +118 -56
- package/data/components/skeleton.md +22 -18
- package/data/components/slider.md +73 -49
- package/data/components/speeddial.md +77 -59
- package/data/components/splitbutton.md +354 -329
- package/data/components/splitter.md +22 -18
- package/data/components/stepper.md +38 -21
- package/data/components/styleclass.md +12 -6
- package/data/components/table.md +523 -314
- package/data/components/tabs.md +44 -26
- package/data/components/tag.md +18 -14
- package/data/components/terminal.md +38 -27
- package/data/components/textarea.md +82 -47
- package/data/components/tieredmenu.md +34 -29
- package/data/components/timeline.md +29 -28
- package/data/components/toast.md +115 -57
- package/data/components/togglebutton.md +53 -39
- package/data/components/toggleswitch.md +41 -28
- package/data/components/toolbar.md +19 -18
- package/data/components/tooltip.md +43 -32
- package/data/components/tree.md +114 -81
- package/data/components/treeselect.md +176 -174
- package/data/components/treetable.md +1250 -1045
- package/data/components.json +4122 -4080
- package/data/llms-full.txt +8784 -6249
- package/data/manifest.json +154 -15
- package/data/pages/tailwind.md +20 -10
- package/data/snapshot.json +2 -2
- package/dist/index.d.mts +2 -0
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -18,11 +18,11 @@ import { SliderModule } from '@exhaustive-ui/core/slider';
|
|
|
18
18
|
@Component({
|
|
19
19
|
template: `
|
|
20
20
|
<div class="card flex justify-center">
|
|
21
|
-
<p-slider [(ngModel)]="value" class="w-56" />
|
|
21
|
+
<p-slider [(ngModel)]="value" class="w-56" ariaLabel="Volume" />
|
|
22
22
|
</div>
|
|
23
23
|
`,
|
|
24
24
|
standalone: true,
|
|
25
|
-
imports: [
|
|
25
|
+
imports: [FormsModule, SliderModule]
|
|
26
26
|
})
|
|
27
27
|
export class SliderBasicDemo {
|
|
28
28
|
value!: number;
|
|
@@ -36,8 +36,8 @@ Image filter implementation using multiple sliders.
|
|
|
36
36
|
```typescript
|
|
37
37
|
import { Component } from '@angular/core';
|
|
38
38
|
import { FormsModule } from '@angular/forms';
|
|
39
|
-
import { SelectButtonModule } from '@exhaustive-ui/core/selectbutton';
|
|
40
39
|
import { SliderModule } from '@exhaustive-ui/core/slider';
|
|
40
|
+
import { SelectButtonModule } from '@exhaustive-ui/core/selectbutton';
|
|
41
41
|
|
|
42
42
|
@Component({
|
|
43
43
|
template: `
|
|
@@ -45,17 +45,29 @@ import { SliderModule } from '@exhaustive-ui/core/slider';
|
|
|
45
45
|
<div class="flex flex-col items-center">
|
|
46
46
|
<img alt="user header" class="w-full md:w-80 rounded-sm mb-6" src="https://exhaustive-ui.com/demo/card-vue.jpg" [style]="filterStyle" />
|
|
47
47
|
<p-select-button [(ngModel)]="filter" [options]="filterOptions" optionLabel="label" optionValue="value" class="mb-4" />
|
|
48
|
-
<p-slider [(ngModel)]="filterValues[filter]" class="w-56" [min]="0" [max]="200" />
|
|
48
|
+
<p-slider [(ngModel)]="filterValues[filter]" class="w-56" [min]="0" [max]="200" ariaLabel="Filter intensity" />
|
|
49
49
|
</div>
|
|
50
50
|
</div>
|
|
51
51
|
`,
|
|
52
52
|
standalone: true,
|
|
53
|
-
imports: [
|
|
53
|
+
imports: [FormsModule, SliderModule, SelectButtonModule]
|
|
54
54
|
})
|
|
55
55
|
export class SliderFilterDemo {
|
|
56
56
|
filter: number = 0;
|
|
57
|
+
|
|
57
58
|
filterValues: number[] = [100, 100, 0];
|
|
58
|
-
|
|
59
|
+
|
|
60
|
+
filterOptions: any = [
|
|
61
|
+
{ label: 'Contrast', value: 0 },
|
|
62
|
+
{ label: 'Brightness', value: 1 },
|
|
63
|
+
{ label: 'Sepia', value: 2 }
|
|
64
|
+
];
|
|
65
|
+
|
|
66
|
+
get filterStyle() {
|
|
67
|
+
return {
|
|
68
|
+
filter: `contrast(${this.filterValues[0]}%) brightness(${this.filterValues[1]}%) sepia(${this.filterValues[2]}%)`
|
|
69
|
+
};
|
|
70
|
+
}
|
|
59
71
|
}
|
|
60
72
|
```
|
|
61
73
|
|
|
@@ -73,13 +85,13 @@ import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
|
73
85
|
template: `
|
|
74
86
|
<div class="card flex justify-center">
|
|
75
87
|
<div>
|
|
76
|
-
<input type="text" pInputText [(ngModel)]="value" class="w-full mb-4" />
|
|
77
|
-
<p-slider [(ngModel)]="value" class="w-full" />
|
|
88
|
+
<input type="text" pInputText [(ngModel)]="value" class="w-full mb-4" aria-label="Volume" />
|
|
89
|
+
<p-slider [(ngModel)]="value" class="w-full" ariaLabel="Volume" />
|
|
78
90
|
</div>
|
|
79
91
|
</div>
|
|
80
92
|
`,
|
|
81
93
|
standalone: true,
|
|
82
|
-
imports: [SliderModule, InputTextModule
|
|
94
|
+
imports: [FormsModule, SliderModule, InputTextModule]
|
|
83
95
|
})
|
|
84
96
|
export class SliderInputDemo {
|
|
85
97
|
value: number = 50;
|
|
@@ -98,11 +110,11 @@ import { SliderModule } from '@exhaustive-ui/core/slider';
|
|
|
98
110
|
@Component({
|
|
99
111
|
template: `
|
|
100
112
|
<div class="card flex justify-center">
|
|
101
|
-
<p-slider [(ngModel)]="rangeValues" [range]="true" class="w-56" />
|
|
113
|
+
<p-slider [(ngModel)]="rangeValues" [range]="true" class="w-56" ariaLabel="Range" />
|
|
102
114
|
</div>
|
|
103
115
|
`,
|
|
104
116
|
standalone: true,
|
|
105
|
-
imports: [
|
|
117
|
+
imports: [FormsModule, SliderModule]
|
|
106
118
|
})
|
|
107
119
|
export class SliderRangeDemo {
|
|
108
120
|
rangeValues: number[] = [20, 80];
|
|
@@ -115,12 +127,13 @@ Slider can also be used with reactive forms. In this case, the formControlName p
|
|
|
115
127
|
|
|
116
128
|
```typescript
|
|
117
129
|
import { Component, inject } from '@angular/core';
|
|
118
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
|
119
|
-
import {
|
|
130
|
+
import { FormBuilder, FormGroup, Validators, ReactiveFormsModule } from '@angular/forms';
|
|
131
|
+
import { CommonModule } from '@angular/common';
|
|
132
|
+
import { MessageService } from '@exhaustive-ui/core/api';
|
|
120
133
|
import { SliderModule } from '@exhaustive-ui/core/slider';
|
|
121
134
|
import { ToastModule } from '@exhaustive-ui/core/toast';
|
|
135
|
+
import { MessageModule } from '@exhaustive-ui/core/message';
|
|
122
136
|
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
123
|
-
import { MessageService } from '@exhaustive-ui/core/api';
|
|
124
137
|
|
|
125
138
|
@Component({
|
|
126
139
|
template: `
|
|
@@ -128,7 +141,7 @@ import { MessageService } from '@exhaustive-ui/core/api';
|
|
|
128
141
|
<div class="card flex justify-center">
|
|
129
142
|
<form [formGroup]="exampleForm" (ngSubmit)="onSubmit()" class="flex flex-col gap-4">
|
|
130
143
|
<div class="flex flex-col gap-4">
|
|
131
|
-
<p-slider formControlName="value" class="w-56" />
|
|
144
|
+
<p-slider formControlName="value" class="w-56" ariaLabel="Volume" />
|
|
132
145
|
@if (isInvalid('value')) {
|
|
133
146
|
<p-message severity="error" size="small" variant="simple">Must be greater than 25.</p-message>
|
|
134
147
|
}
|
|
@@ -138,17 +151,22 @@ import { MessageService } from '@exhaustive-ui/core/api';
|
|
|
138
151
|
</div>
|
|
139
152
|
`,
|
|
140
153
|
standalone: true,
|
|
141
|
-
imports: [
|
|
154
|
+
imports: [CommonModule, ReactiveFormsModule, SliderModule, ToastModule, MessageModule, ButtonModule],
|
|
155
|
+
providers: [MessageService]
|
|
142
156
|
})
|
|
143
157
|
export class SliderReactiveformsDemo {
|
|
158
|
+
private fb = inject(FormBuilder);
|
|
159
|
+
|
|
144
160
|
messageService = inject(MessageService);
|
|
161
|
+
|
|
145
162
|
exampleForm: FormGroup | undefined;
|
|
163
|
+
|
|
146
164
|
formSubmitted: boolean = false;
|
|
147
165
|
|
|
148
166
|
constructor() {
|
|
149
167
|
this.exampleForm = this.fb.group({
|
|
150
|
-
|
|
151
|
-
|
|
168
|
+
value: ['', Validators.required]
|
|
169
|
+
});
|
|
152
170
|
}
|
|
153
171
|
|
|
154
172
|
onSubmit() {
|
|
@@ -174,11 +192,11 @@ Slider can also be used with Angular Signal Forms , the @angular/forms/signals A
|
|
|
174
192
|
```typescript
|
|
175
193
|
import { Component, inject, signal } from '@angular/core';
|
|
176
194
|
import { form, FormField, submit, validate } from '@angular/forms/signals';
|
|
177
|
-
import {
|
|
195
|
+
import { MessageService } from '@exhaustive-ui/core/api';
|
|
178
196
|
import { SliderModule } from '@exhaustive-ui/core/slider';
|
|
179
|
-
import { ToastModule } from '@exhaustive-ui/core/toast';
|
|
180
197
|
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
181
|
-
import {
|
|
198
|
+
import { ToastModule } from '@exhaustive-ui/core/toast';
|
|
199
|
+
import { MessageModule } from '@exhaustive-ui/core/message';
|
|
182
200
|
|
|
183
201
|
@Component({
|
|
184
202
|
template: `
|
|
@@ -186,7 +204,7 @@ import { MessageService } from '@exhaustive-ui/core/api';
|
|
|
186
204
|
<div class="card flex justify-center">
|
|
187
205
|
<form novalidate (submit)="onSubmit($event)" class="flex flex-col gap-4">
|
|
188
206
|
<div class="flex flex-col gap-4">
|
|
189
|
-
<p-slider [formField]="exampleForm.value" class="w-56" />
|
|
207
|
+
<p-slider [formField]="exampleForm.value" class="w-56" ariaLabel="Volume" />
|
|
190
208
|
@let value = exampleForm.value();
|
|
191
209
|
@if (value.invalid() && value.touched()) {
|
|
192
210
|
<p-message severity="error" size="small" variant="simple">Must be greater than 25.</p-message>
|
|
@@ -197,11 +215,14 @@ import { MessageService } from '@exhaustive-ui/core/api';
|
|
|
197
215
|
</div>
|
|
198
216
|
`,
|
|
199
217
|
standalone: true,
|
|
200
|
-
imports: [
|
|
218
|
+
imports: [FormField, SliderModule, ButtonModule, ToastModule, MessageModule],
|
|
219
|
+
providers: [MessageService]
|
|
201
220
|
})
|
|
202
221
|
export class SliderSignalformsDemo {
|
|
203
222
|
messageService = inject(MessageService);
|
|
223
|
+
|
|
204
224
|
model = signal({ value: 0 });
|
|
225
|
+
|
|
205
226
|
exampleForm = form(this.model, (f) => {
|
|
206
227
|
// min() would also set the start of the slider range, so the lower bound is checked by a validator
|
|
207
228
|
validate(f.value, ({ value }) => (value() > 25 ? null : { kind: 'min' }));
|
|
@@ -229,11 +250,11 @@ import { SliderModule } from '@exhaustive-ui/core/slider';
|
|
|
229
250
|
@Component({
|
|
230
251
|
template: `
|
|
231
252
|
<div class="card flex justify-center">
|
|
232
|
-
<p-slider [(ngModel)]="value" [step]="20" class="w-56" />
|
|
253
|
+
<p-slider [(ngModel)]="value" [step]="20" class="w-56" ariaLabel="Volume" />
|
|
233
254
|
</div>
|
|
234
255
|
`,
|
|
235
256
|
standalone: true,
|
|
236
|
-
imports: [
|
|
257
|
+
imports: [FormsModule, SliderModule]
|
|
237
258
|
})
|
|
238
259
|
export class SliderStepDemo {
|
|
239
260
|
value: number = 20;
|
|
@@ -245,11 +266,12 @@ export class SliderStepDemo {
|
|
|
245
266
|
```typescript
|
|
246
267
|
import { Component, inject } from '@angular/core';
|
|
247
268
|
import { FormsModule } from '@angular/forms';
|
|
248
|
-
import {
|
|
269
|
+
import { CommonModule } from '@angular/common';
|
|
270
|
+
import { MessageService } from '@exhaustive-ui/core/api';
|
|
249
271
|
import { SliderModule } from '@exhaustive-ui/core/slider';
|
|
250
272
|
import { ToastModule } from '@exhaustive-ui/core/toast';
|
|
273
|
+
import { MessageModule } from '@exhaustive-ui/core/message';
|
|
251
274
|
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
252
|
-
import { MessageService } from '@exhaustive-ui/core/api';
|
|
253
275
|
|
|
254
276
|
@Component({
|
|
255
277
|
template: `
|
|
@@ -257,7 +279,7 @@ import { MessageService } from '@exhaustive-ui/core/api';
|
|
|
257
279
|
<div class="card flex justify-center">
|
|
258
280
|
<form #exampleForm="ngForm" (ngSubmit)="onSubmit(exampleForm)" class="flex justify-center flex-col gap-4">
|
|
259
281
|
<div class="flex flex-col gap-4">
|
|
260
|
-
<p-slider #model="ngModel" [(ngModel)]="value" class="w-56" required [invalid]="model.invalid && (model.touched || exampleForm.submitted)" name="slider" />
|
|
282
|
+
<p-slider #model="ngModel" [(ngModel)]="value" class="w-56" required [invalid]="model.invalid && (model.touched || exampleForm.submitted)" name="slider" ariaLabel="Volume" />
|
|
261
283
|
@if (model.invalid && (model.touched || exampleForm.submitted)) {
|
|
262
284
|
<p-message severity="error" size="small" variant="simple">Must be greater than 25.</p-message>
|
|
263
285
|
}
|
|
@@ -267,10 +289,12 @@ import { MessageService } from '@exhaustive-ui/core/api';
|
|
|
267
289
|
</div>
|
|
268
290
|
`,
|
|
269
291
|
standalone: true,
|
|
270
|
-
imports: [
|
|
292
|
+
imports: [CommonModule, FormsModule, SliderModule, ToastModule, MessageModule, ButtonModule],
|
|
293
|
+
providers: [MessageService]
|
|
271
294
|
})
|
|
272
295
|
export class SliderTemplatedrivenformsDemo {
|
|
273
296
|
messageService = inject(MessageService);
|
|
297
|
+
|
|
274
298
|
value: any;
|
|
275
299
|
|
|
276
300
|
onSubmit(form: any) {
|
|
@@ -294,11 +318,11 @@ import { SliderModule } from '@exhaustive-ui/core/slider';
|
|
|
294
318
|
@Component({
|
|
295
319
|
template: `
|
|
296
320
|
<div class="card flex justify-center">
|
|
297
|
-
<p-slider [(ngModel)]="value" orientation="vertical" class="h-56" />
|
|
321
|
+
<p-slider [(ngModel)]="value" orientation="vertical" class="h-56" ariaLabel="Volume" />
|
|
298
322
|
</div>
|
|
299
323
|
`,
|
|
300
324
|
standalone: true,
|
|
301
|
-
imports: [
|
|
325
|
+
imports: [FormsModule, SliderModule]
|
|
302
326
|
})
|
|
303
327
|
export class SliderVerticalDemo {
|
|
304
328
|
value: number = 50;
|
|
@@ -313,24 +337,24 @@ Slider is a component to provide input with a drag handle.
|
|
|
313
337
|
|
|
314
338
|
| Name | Type | Default | Description |
|
|
315
339
|
|------|------|---------|-------------|
|
|
316
|
-
| dt |
|
|
317
|
-
| unstyled |
|
|
318
|
-
| pt |
|
|
319
|
-
| ptOptions |
|
|
320
|
-
| required |
|
|
321
|
-
| invalid |
|
|
322
|
-
| disabled |
|
|
323
|
-
| name |
|
|
324
|
-
| animate |
|
|
325
|
-
| min |
|
|
326
|
-
| max |
|
|
327
|
-
| orientation |
|
|
328
|
-
| step |
|
|
329
|
-
| range |
|
|
330
|
-
| ariaLabel |
|
|
331
|
-
| ariaLabelledBy |
|
|
332
|
-
| tabindex |
|
|
333
|
-
| autofocus |
|
|
340
|
+
| dt | Object | undefined | Defines scoped design tokens of the component. |
|
|
341
|
+
| unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
|
|
342
|
+
| pt | SliderPassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
|
|
343
|
+
| ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
|
|
344
|
+
| required | boolean | false | There must be a value (if set). |
|
|
345
|
+
| invalid | boolean | false | When present, it specifies that the component should have invalid state style. |
|
|
346
|
+
| disabled | boolean | false | When present, it specifies that the component should have disabled state style. |
|
|
347
|
+
| name | string | undefined | When present, it specifies that the name of the input. |
|
|
348
|
+
| animate | boolean | - | When enabled, displays an animation on click of the slider bar. |
|
|
349
|
+
| min | number | 0 | Mininum boundary value. |
|
|
350
|
+
| max | number | 100 | Maximum boundary value. |
|
|
351
|
+
| orientation | "vertical" \| "horizontal" | 'horizontal' | Orientation of the slider. |
|
|
352
|
+
| step | number | - | Step factor to increment/decrement the value. |
|
|
353
|
+
| range | boolean | - | When specified, allows two boundary values to be picked. |
|
|
354
|
+
| ariaLabel | string | - | Defines a string that labels the input for accessibility. |
|
|
355
|
+
| ariaLabelledBy | string | - | Establishes relationships between the component and label(s) where its value should be one or more element IDs. |
|
|
356
|
+
| tabindex | number | 0 | Index of the element in tabbing order. |
|
|
357
|
+
| autofocus | boolean | - | When present, it specifies that the component should automatically get focus on load. |
|
|
334
358
|
|
|
335
359
|
### Emits
|
|
336
360
|
|
|
@@ -12,25 +12,27 @@ Items can be displayed around the button when type is set to circle . Additional
|
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
14
|
import { Component, OnInit, inject } from '@angular/core';
|
|
15
|
+
import { RouterModule } from '@angular/router';
|
|
16
|
+
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
15
17
|
import { SpeedDialModule } from '@exhaustive-ui/core/speeddial';
|
|
16
18
|
import { ToastModule } from '@exhaustive-ui/core/toast';
|
|
17
|
-
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
18
19
|
|
|
19
20
|
@Component({
|
|
20
21
|
template: `
|
|
21
22
|
<div class="card">
|
|
22
23
|
<div style="position:relative; height: 500px;" class="flex items-center justify-center">
|
|
23
24
|
<p-toast />
|
|
24
|
-
<p-speed-dial [model]="items" [radius]="80" type="circle" [style]="{ position: 'absolute' }" [buttonProps]="{ severity: 'warn', rounded: true }" />
|
|
25
|
+
<p-speed-dial [model]="items" ariaLabel="Actions" [radius]="80" type="circle" [style]="{ position: 'absolute' }" [buttonProps]="{ severity: 'warn', rounded: true }" />
|
|
25
26
|
</div>
|
|
26
27
|
</div>
|
|
27
28
|
`,
|
|
28
29
|
standalone: true,
|
|
29
|
-
imports: [SpeedDialModule, ToastModule],
|
|
30
|
+
imports: [SpeedDialModule, ToastModule, RouterModule],
|
|
30
31
|
providers: [MessageService]
|
|
31
32
|
})
|
|
32
33
|
export class SpeeddialCircleDemo implements OnInit {
|
|
33
34
|
private messageService = inject(MessageService);
|
|
35
|
+
|
|
34
36
|
items: MenuItem[] | undefined;
|
|
35
37
|
|
|
36
38
|
ngOnInit() {
|
|
@@ -73,28 +75,30 @@ SpeedDial items are defined with the model property based on MenuModel API. Defa
|
|
|
73
75
|
|
|
74
76
|
```typescript
|
|
75
77
|
import { Component, OnInit, inject } from '@angular/core';
|
|
78
|
+
import { RouterModule } from '@angular/router';
|
|
79
|
+
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
76
80
|
import { SpeedDialModule } from '@exhaustive-ui/core/speeddial';
|
|
77
81
|
import { ToastModule } from '@exhaustive-ui/core/toast';
|
|
78
|
-
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
79
82
|
|
|
80
83
|
@Component({
|
|
81
84
|
template: `
|
|
82
85
|
<div class="card">
|
|
83
86
|
<div style="height: 500px; position: relative;">
|
|
84
87
|
<p-toast />
|
|
85
|
-
<p-speed-dial [model]="items" direction="up" [style]="{ position: 'absolute', left: 'calc(50% - 2rem)', bottom: 0 }" />
|
|
86
|
-
<p-speed-dial [model]="items" direction="down" [style]="{ position: 'absolute', left: 'calc(50% - 2rem)', top: 0 }" />
|
|
87
|
-
<p-speed-dial [model]="items" direction="left" [style]="{ position: 'absolute', top: 'calc(50% - 2rem)', right: 0 }" />
|
|
88
|
-
<p-speed-dial [model]="items" direction="right" [style]="{ position: 'absolute', top: 'calc(50% - 2rem)', left: 0 }" />
|
|
88
|
+
<p-speed-dial [model]="items" ariaLabel="Actions" direction="up" [style]="{ position: 'absolute', left: 'calc(50% - 2rem)', bottom: 0 }" />
|
|
89
|
+
<p-speed-dial [model]="items" ariaLabel="Actions" direction="down" [style]="{ position: 'absolute', left: 'calc(50% - 2rem)', top: 0 }" />
|
|
90
|
+
<p-speed-dial [model]="items" ariaLabel="Actions" direction="left" [style]="{ position: 'absolute', top: 'calc(50% - 2rem)', right: 0 }" />
|
|
91
|
+
<p-speed-dial [model]="items" ariaLabel="Actions" direction="right" [style]="{ position: 'absolute', top: 'calc(50% - 2rem)', left: 0 }" />
|
|
89
92
|
</div>
|
|
90
93
|
</div>
|
|
91
94
|
`,
|
|
92
95
|
standalone: true,
|
|
93
|
-
imports: [SpeedDialModule, ToastModule],
|
|
96
|
+
imports: [SpeedDialModule, ToastModule, RouterModule],
|
|
94
97
|
providers: [MessageService]
|
|
95
98
|
})
|
|
96
99
|
export class SpeeddialLinearDemo implements OnInit {
|
|
97
100
|
private messageService = inject(MessageService);
|
|
101
|
+
|
|
98
102
|
items: MenuItem[] | undefined;
|
|
99
103
|
|
|
100
104
|
ngOnInit() {
|
|
@@ -137,25 +141,27 @@ Adding mask property displays a modal layer behind the popup items.
|
|
|
137
141
|
|
|
138
142
|
```typescript
|
|
139
143
|
import { Component, OnInit, inject } from '@angular/core';
|
|
144
|
+
import { RouterModule } from '@angular/router';
|
|
145
|
+
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
140
146
|
import { SpeedDialModule } from '@exhaustive-ui/core/speeddial';
|
|
141
147
|
import { ToastModule } from '@exhaustive-ui/core/toast';
|
|
142
|
-
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
143
148
|
|
|
144
149
|
@Component({
|
|
145
150
|
template: `
|
|
146
151
|
<div class="card p-4">
|
|
147
152
|
<div [style]="{ position: 'relative', height: '350px' }">
|
|
148
153
|
<p-toast />
|
|
149
|
-
<p-speed-dial [model]="items" direction="up" mask [style]="{ position: 'absolute', right: '1rem', bottom: '1rem' }" />
|
|
154
|
+
<p-speed-dial [model]="items" ariaLabel="Actions" direction="up" mask [style]="{ position: 'absolute', right: '1rem', bottom: '1rem' }" />
|
|
150
155
|
</div>
|
|
151
156
|
</div>
|
|
152
157
|
`,
|
|
153
158
|
standalone: true,
|
|
154
|
-
imports: [SpeedDialModule, ToastModule],
|
|
159
|
+
imports: [SpeedDialModule, ToastModule, RouterModule],
|
|
155
160
|
providers: [MessageService]
|
|
156
161
|
})
|
|
157
162
|
export class SpeeddialMaskDemo implements OnInit {
|
|
158
163
|
private messageService = inject(MessageService);
|
|
164
|
+
|
|
159
165
|
items: MenuItem[] | undefined;
|
|
160
166
|
|
|
161
167
|
ngOnInit() {
|
|
@@ -198,28 +204,30 @@ When type is defined as quarter-circle , items are displayed in a half-circle ar
|
|
|
198
204
|
|
|
199
205
|
```typescript
|
|
200
206
|
import { Component, OnInit, inject } from '@angular/core';
|
|
207
|
+
import { RouterModule } from '@angular/router';
|
|
208
|
+
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
201
209
|
import { SpeedDialModule } from '@exhaustive-ui/core/speeddial';
|
|
202
210
|
import { ToastModule } from '@exhaustive-ui/core/toast';
|
|
203
|
-
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
204
211
|
|
|
205
212
|
@Component({
|
|
206
213
|
template: `
|
|
207
214
|
<div class="card">
|
|
208
215
|
<div style="position: relative; height: 500px">
|
|
209
216
|
<p-toast />
|
|
210
|
-
<p-speed-dial [model]="items" [radius]="120" type="quarter-circle" direction="up-left" [style]="{ position: 'absolute', right: 0, bottom: 0 }" />
|
|
211
|
-
<p-speed-dial [model]="items" [radius]="120" type="quarter-circle" direction="up-right" [style]="{ position: 'absolute', left: 0, bottom: 0 }" />
|
|
212
|
-
<p-speed-dial [model]="items" [radius]="120" type="quarter-circle" direction="down-left" [style]="{ position: 'absolute', right: 0, top: 0 }" />
|
|
213
|
-
<p-speed-dial [model]="items" [radius]="120" type="quarter-circle" direction="down-right" [style]="{ position: 'absolute', left: 0, top: 0 }" />
|
|
217
|
+
<p-speed-dial [model]="items" ariaLabel="Actions" [radius]="120" type="quarter-circle" direction="up-left" [style]="{ position: 'absolute', right: 0, bottom: 0 }" />
|
|
218
|
+
<p-speed-dial [model]="items" ariaLabel="Actions" [radius]="120" type="quarter-circle" direction="up-right" [style]="{ position: 'absolute', left: 0, bottom: 0 }" />
|
|
219
|
+
<p-speed-dial [model]="items" ariaLabel="Actions" [radius]="120" type="quarter-circle" direction="down-left" [style]="{ position: 'absolute', right: 0, top: 0 }" />
|
|
220
|
+
<p-speed-dial [model]="items" ariaLabel="Actions" [radius]="120" type="quarter-circle" direction="down-right" [style]="{ position: 'absolute', left: 0, top: 0 }" />
|
|
214
221
|
</div>
|
|
215
222
|
</div>
|
|
216
223
|
`,
|
|
217
224
|
standalone: true,
|
|
218
|
-
imports: [SpeedDialModule, ToastModule],
|
|
225
|
+
imports: [SpeedDialModule, ToastModule, RouterModule],
|
|
219
226
|
providers: [MessageService]
|
|
220
227
|
})
|
|
221
228
|
export class SpeeddialQuartercircleDemo implements OnInit {
|
|
222
229
|
private messageService = inject(MessageService);
|
|
230
|
+
|
|
223
231
|
items: MenuItem[] | undefined;
|
|
224
232
|
|
|
225
233
|
ngOnInit() {
|
|
@@ -262,28 +270,30 @@ When type is defined as semi-circle , items are displayed in a half-circle aroun
|
|
|
262
270
|
|
|
263
271
|
```typescript
|
|
264
272
|
import { Component, OnInit, inject } from '@angular/core';
|
|
273
|
+
import { RouterModule } from '@angular/router';
|
|
274
|
+
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
265
275
|
import { SpeedDialModule } from '@exhaustive-ui/core/speeddial';
|
|
266
276
|
import { ToastModule } from '@exhaustive-ui/core/toast';
|
|
267
|
-
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
268
277
|
|
|
269
278
|
@Component({
|
|
270
279
|
template: `
|
|
271
280
|
<div class="card">
|
|
272
281
|
<div style="position: relative; height: 500px">
|
|
273
282
|
<p-toast />
|
|
274
|
-
<p-speed-dial [model]="items" [radius]="80" type="semi-circle" direction="down" [style]="{ position: 'absolute', left: 'calc(50% - 2rem)', top: 0 }" />
|
|
275
|
-
<p-speed-dial [model]="items" [radius]="80" type="semi-circle" direction="right" [style]="{ position: 'absolute', top: 'calc(50% - 2rem)', left: 0 }" />
|
|
276
|
-
<p-speed-dial [model]="items" [radius]="80" type="semi-circle" direction="left" [style]="{ position: 'absolute', top: 'calc(50% - 2rem)', right: 0 }" />
|
|
277
|
-
<p-speed-dial [model]="items" [radius]="80" type="semi-circle" direction="up" [style]="{ position: 'absolute', left: 'calc(50% - 2rem)', bottom: 0 }" />
|
|
283
|
+
<p-speed-dial [model]="items" ariaLabel="Actions" [radius]="80" type="semi-circle" direction="down" [style]="{ position: 'absolute', left: 'calc(50% - 2rem)', top: 0 }" />
|
|
284
|
+
<p-speed-dial [model]="items" ariaLabel="Actions" [radius]="80" type="semi-circle" direction="right" [style]="{ position: 'absolute', top: 'calc(50% - 2rem)', left: 0 }" />
|
|
285
|
+
<p-speed-dial [model]="items" ariaLabel="Actions" [radius]="80" type="semi-circle" direction="left" [style]="{ position: 'absolute', top: 'calc(50% - 2rem)', right: 0 }" />
|
|
286
|
+
<p-speed-dial [model]="items" ariaLabel="Actions" [radius]="80" type="semi-circle" direction="up" [style]="{ position: 'absolute', left: 'calc(50% - 2rem)', bottom: 0 }" />
|
|
278
287
|
</div>
|
|
279
288
|
</div>
|
|
280
289
|
`,
|
|
281
290
|
standalone: true,
|
|
282
|
-
imports: [SpeedDialModule, ToastModule],
|
|
291
|
+
imports: [SpeedDialModule, ToastModule, RouterModule],
|
|
283
292
|
providers: [MessageService]
|
|
284
293
|
})
|
|
285
294
|
export class SpeeddialSemicircleDemo implements OnInit {
|
|
286
295
|
private messageService = inject(MessageService);
|
|
296
|
+
|
|
287
297
|
items: MenuItem[] | undefined;
|
|
288
298
|
|
|
289
299
|
ngOnInit() {
|
|
@@ -326,10 +336,12 @@ SpeedDial offers item customization with the item template that receives the men
|
|
|
326
336
|
|
|
327
337
|
```typescript
|
|
328
338
|
import { Component, OnInit, inject } from '@angular/core';
|
|
329
|
-
import {
|
|
339
|
+
import { Router } from '@angular/router';
|
|
340
|
+
import { CommonModule } from '@angular/common';
|
|
341
|
+
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
330
342
|
import { SpeedDialModule } from '@exhaustive-ui/core/speeddial';
|
|
331
343
|
import { ToastModule } from '@exhaustive-ui/core/toast';
|
|
332
|
-
import {
|
|
344
|
+
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
333
345
|
|
|
334
346
|
@Component({
|
|
335
347
|
template: `
|
|
@@ -338,7 +350,7 @@ import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
|
338
350
|
<p-toast />
|
|
339
351
|
<p-speed-dial [model]="items" direction="up" [transitionDelay]="80" style="position: 'absolute'">
|
|
340
352
|
<ng-template #button let-toggleCallback="toggleCallback">
|
|
341
|
-
<p-button outlined styleClass="border" (click)="toggleCallback($event)">
|
|
353
|
+
<p-button outlined styleClass="border" ariaLabel="Actions" (click)="toggleCallback($event)">
|
|
342
354
|
<svg width="31" height="33" viewBox="0 0 31 33" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
343
355
|
<path d="M15.1934 0V0V0L0.0391235 5.38288L2.35052 25.3417L15.1934 32.427V32.427V32.427L28.0364 25.3417L30.3478 5.38288L15.1934 0Z" fill="var(--p-primary-color)" />
|
|
344
356
|
<mask id="mask0_1_52" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="31" height="33">
|
|
@@ -383,11 +395,13 @@ import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
|
383
395
|
</div>
|
|
384
396
|
`,
|
|
385
397
|
standalone: true,
|
|
386
|
-
imports: [
|
|
398
|
+
imports: [CommonModule, SpeedDialModule, ToastModule, ButtonModule],
|
|
387
399
|
providers: [MessageService]
|
|
388
400
|
})
|
|
389
401
|
export class SpeeddialTemplateDemo implements OnInit {
|
|
390
402
|
private messageService = inject(MessageService);
|
|
403
|
+
private router = inject(Router);
|
|
404
|
+
|
|
391
405
|
items: MenuItem[] | undefined;
|
|
392
406
|
|
|
393
407
|
ngOnInit() {
|
|
@@ -438,26 +452,30 @@ Items display a tooltip on hover when a standalone Tooltip is present with a tar
|
|
|
438
452
|
|
|
439
453
|
```typescript
|
|
440
454
|
import { Component, OnInit, inject } from '@angular/core';
|
|
455
|
+
import { Router } from '@angular/router';
|
|
456
|
+
import { RouterModule } from '@angular/router';
|
|
457
|
+
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
441
458
|
import { SpeedDialModule } from '@exhaustive-ui/core/speeddial';
|
|
442
459
|
import { ToastModule } from '@exhaustive-ui/core/toast';
|
|
443
|
-
import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
|
|
444
460
|
|
|
445
461
|
@Component({
|
|
446
462
|
template: `
|
|
447
463
|
<div class="card">
|
|
448
464
|
<div [style]="{ position: 'relative', height: '350px' }">
|
|
449
465
|
<p-toast />
|
|
450
|
-
<p-speed-dial [model]="items" direction="up" [style]="{ position: 'absolute', right: 0, bottom: 0 }" [buttonProps]="{ severity: 'help', rounded: true }" [tooltipOptions]="{ tooltipPosition: 'left' }" />
|
|
451
|
-
<p-speed-dial [model]="items" direction="up" [style]="{ position: 'absolute', left: 0, bottom: 0 }" [buttonProps]="{ severity: 'danger', rounded: true }" [tooltipOptions]="{ tooltipPosition: 'right' }" />
|
|
466
|
+
<p-speed-dial [model]="items" ariaLabel="Actions" direction="up" [style]="{ position: 'absolute', right: 0, bottom: 0 }" [buttonProps]="{ severity: 'help', rounded: true }" [tooltipOptions]="{ tooltipPosition: 'left' }" />
|
|
467
|
+
<p-speed-dial [model]="items" ariaLabel="Actions" direction="up" [style]="{ position: 'absolute', left: 0, bottom: 0 }" [buttonProps]="{ severity: 'danger', rounded: true }" [tooltipOptions]="{ tooltipPosition: 'right' }" />
|
|
452
468
|
</div>
|
|
453
469
|
</div>
|
|
454
470
|
`,
|
|
455
471
|
standalone: true,
|
|
456
|
-
imports: [SpeedDialModule, ToastModule],
|
|
472
|
+
imports: [SpeedDialModule, ToastModule, RouterModule],
|
|
457
473
|
providers: [MessageService]
|
|
458
474
|
})
|
|
459
475
|
export class SpeeddialTooltipDemo implements OnInit {
|
|
460
476
|
private messageService = inject(MessageService);
|
|
477
|
+
private router = inject(Router);
|
|
478
|
+
|
|
461
479
|
items: MenuItem[] | undefined;
|
|
462
480
|
|
|
463
481
|
ngOnInit() {
|
|
@@ -509,33 +527,33 @@ When pressed, a floating action button can display multiple primary actions that
|
|
|
509
527
|
|
|
510
528
|
| Name | Type | Default | Description |
|
|
511
529
|
|------|------|---------|-------------|
|
|
512
|
-
| dt |
|
|
513
|
-
| unstyled |
|
|
514
|
-
| pt |
|
|
515
|
-
| ptOptions |
|
|
516
|
-
| id |
|
|
517
|
-
| model |
|
|
518
|
-
| visible |
|
|
519
|
-
| style |
|
|
520
|
-
| className |
|
|
521
|
-
| direction |
|
|
522
|
-
| transitionDelay |
|
|
523
|
-
| type |
|
|
524
|
-
| radius |
|
|
525
|
-
| mask |
|
|
526
|
-
| disabled |
|
|
527
|
-
| hideOnClickOutside |
|
|
528
|
-
| buttonStyle |
|
|
529
|
-
| buttonClassName |
|
|
530
|
-
| maskStyle |
|
|
531
|
-
| maskClassName |
|
|
532
|
-
| showIcon |
|
|
533
|
-
| hideIcon |
|
|
534
|
-
| rotateAnimation |
|
|
535
|
-
| ariaLabel |
|
|
536
|
-
| ariaLabelledBy |
|
|
537
|
-
| tooltipOptions |
|
|
538
|
-
| buttonProps |
|
|
530
|
+
| dt | Object | undefined | Defines scoped design tokens of the component. |
|
|
531
|
+
| unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
|
|
532
|
+
| pt | SpeedDialPassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
|
|
533
|
+
| ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
|
|
534
|
+
| id | string | - | List of items id. |
|
|
535
|
+
| model | MenuItem[] | - | MenuModel instance to define the action items. |
|
|
536
|
+
| visible | boolean | false | Specifies the visibility of the overlay, supports one or two-way binding as well. Emits `visibleChange` with the new value when the visibility of element changed. |
|
|
537
|
+
| style | { [klass: string]: any } | - | Inline style of the element. |
|
|
538
|
+
| className | string | - | Style class of the element. |
|
|
539
|
+
| direction | "left" \| "right" \| "down" \| "up" \| "up-left" \| "up-right" \| "down-left" \| "down-right" | 'up' | Specifies the opening direction of actions. |
|
|
540
|
+
| transitionDelay | number | 30 | Transition delay step for each action item. |
|
|
541
|
+
| type | "circle" \| "linear" \| "semi-circle" \| "quarter-circle" | 'linear' | Specifies the opening type of actions. |
|
|
542
|
+
| radius | number | 0 | Radius for *circle types. |
|
|
543
|
+
| mask | boolean | false | Whether to show a mask element behind the speeddial. |
|
|
544
|
+
| disabled | boolean | false | Whether the component is disabled. |
|
|
545
|
+
| hideOnClickOutside | boolean | true | Whether the actions close when clicked outside. |
|
|
546
|
+
| buttonStyle | { [klass: string]: any } | - | Inline style of the button element. |
|
|
547
|
+
| buttonClassName | string | - | Style class of the button element. |
|
|
548
|
+
| maskStyle | { [klass: string]: any } | - | Inline style of the mask element. |
|
|
549
|
+
| maskClassName | string | - | Style class of the mask element. |
|
|
550
|
+
| showIcon | string | - | Show icon of the button element. |
|
|
551
|
+
| hideIcon | string | - | Hide icon of the button element. |
|
|
552
|
+
| rotateAnimation | boolean | true | Defined to rotate showIcon when hideIcon is not present. |
|
|
553
|
+
| ariaLabel | string | - | Defines a string value that labels an interactive element. |
|
|
554
|
+
| ariaLabelledBy | string | - | Identifier of the underlying input element. |
|
|
555
|
+
| tooltipOptions | TooltipOptions | - | Whether to display the tooltip on items. The modifiers of Tooltip can be used like an object in it. Valid keys are 'event' and 'position'. |
|
|
556
|
+
| buttonProps | ButtonProps | - | Used to pass all properties of the ButtonProps to the Button component. |
|
|
539
557
|
|
|
540
558
|
### Emits
|
|
541
559
|
|