@@ -45,13 +45,42 @@ See [DialogOptions](/api/interface/DialogOptions), [R.style](https://developer.a
45
45
<img src =" ../assets/images/screenshots/android/Dialogs-Alert.png " />
46
46
</DeviceFrame >
47
47
48
+ <Tabs >
49
+ <Tab flavor =" typescript " >
50
+
48
51
<<< @/../examples/typescript/src/ui/Dialogs/template.ts#example-alert
49
- <<< @/../examples/angular/src/ui/Dialogs/component.html#example-alert
52
+
53
+ </Tab >
54
+ <Tab flavor =" angular " >
55
+
56
+ ::: code-group
57
+ <<< @/../examples/angular/src/ui/Dialogs/component.html#example-alert [ HTML]
58
+ <<< @/../examples/angular/src/ui/Dialogs/component.ts#example-alert [ TypeScript]
59
+ :::
60
+
61
+ </Tab >
62
+ <Tab flavor =" react " >
63
+
50
64
<<< @/../examples/react/src/components/ui/dialogs.tsx#example-alert
65
+
66
+ </Tab >
67
+ <Tab flavor =" solid " >
68
+
51
69
<<< @/../examples/solid/src/ui/dialogs.tsx#example-alert
70
+
71
+ </Tab >
72
+ <Tab flavor =" svelte " >
73
+
52
74
<<< @/../examples/svelte/app/components/ui/Dialogs.svelte#example-alert
75
+
76
+ </Tab >
77
+ <Tab flavor =" vue " >
78
+
53
79
<<< @/../examples/vue/src/ui/Dialogs/component.vue#example-alert
54
80
81
+ </Tab >
82
+ </Tabs >
83
+
55
84
A dialog for alerting the user.
56
85
57
86
See [ alert()] ( /api/#alert ) .
@@ -65,13 +94,42 @@ See [alert()](/api/#alert).
65
94
<img src =" ../assets/images/screenshots/android/Dialogs-Action.png " />
66
95
</DeviceFrame >
67
96
97
+ <Tabs >
98
+ <Tab flavor =" typescript " >
99
+
68
100
<<< @/../examples/typescript/src/ui/Dialogs/template.ts#example-action
69
- <<< @/../examples/angular/src/ui/Dialogs/component.html#example-action
101
+
102
+ </Tab >
103
+ <Tab flavor =" angular " >
104
+
105
+ ::: code-group
106
+ <<< @/../examples/angular/src/ui/Dialogs/component.html#example-action [ HTML]
107
+ <<< @/../examples/angular/src/ui/Dialogs/component.ts#example-action [ TypeScript]
108
+ :::
109
+
110
+ </Tab >
111
+ <Tab flavor =" react " >
112
+
70
113
<<< @/../examples/react/src/components/ui/dialogs.tsx#example-action
114
+
115
+ </Tab >
116
+ <Tab flavor =" solid " >
117
+
71
118
<<< @/../examples/solid/src/ui/dialogs.tsx#example-action
119
+
120
+ </Tab >
121
+ <Tab flavor =" svelte " >
122
+
72
123
<<< @/../examples/svelte/app/components/ui/Dialogs.svelte#example-action
124
+
125
+ </Tab >
126
+ <Tab flavor =" vue " >
127
+
73
128
<<< @/../examples/vue/src/ui/Dialogs/component.vue#example-action
74
129
130
+ </Tab >
131
+ </Tabs >
132
+
75
133
A dialog for prompting the user to choose.
76
134
77
135
** Note** : ` destructiveActionsIndexes ` allows setting some actions as destructive - shown in red. ** iOS only.**
@@ -87,13 +145,42 @@ See [action()](/api/#action).
87
145
<img src =" ../assets/images/screenshots/android/Dialogs-Confirm.png " />
88
146
</DeviceFrame >
89
147
148
+ <Tabs >
149
+ <Tab flavor =" typescript " >
150
+
90
151
<<< @/../examples/typescript/src/ui/Dialogs/template.ts#example-confirm
91
- <<< @/../examples/angular/src/ui/Dialogs/component.html#example-confirm
152
+
153
+ </Tab >
154
+ <Tab flavor =" angular " >
155
+
156
+ ::: code-group
157
+ <<< @/../examples/angular/src/ui/Dialogs/component.html#example-confirm [ HTML]
158
+ <<< @/../examples/angular/src/ui/Dialogs/component.ts#example-confirm [ TypeScript]
159
+ :::
160
+
161
+ </Tab >
162
+ <Tab flavor =" react " >
163
+
92
164
<<< @/../examples/react/src/components/ui/dialogs.tsx#example-confirm
165
+
166
+ </Tab >
167
+ <Tab flavor =" solid " >
168
+
93
169
<<< @/../examples/solid/src/ui/dialogs.tsx#example-confirm
170
+
171
+ </Tab >
172
+ <Tab flavor =" svelte " >
173
+
94
174
<<< @/../examples/svelte/app/components/ui/Dialogs.svelte#example-confirm
175
+
176
+ </Tab >
177
+ <Tab flavor =" vue " >
178
+
95
179
<<< @/../examples/vue/src/ui/Dialogs/component.vue#example-confirm
96
180
181
+ </Tab >
182
+ </Tabs >
183
+
97
184
A dialog for prompting the user to confirm.
98
185
99
186
See [ confirm()] ( /api/#confirm ) .
@@ -107,13 +194,42 @@ See [confirm()](/api/#confirm).
107
194
<img src =" ../assets/images/screenshots/android/Dialogs-Prompt.png " />
108
195
</DeviceFrame >
109
196
197
+ <Tabs >
198
+ <Tab flavor =" typescript " >
199
+
110
200
<<< @/../examples/typescript/src/ui/Dialogs/template.ts#example-prompt
111
- <<< @/../examples/angular/src/ui/Dialogs/component.html#example-prompt
201
+
202
+ </Tab >
203
+ <Tab flavor =" angular " >
204
+
205
+ ::: code-group
206
+ <<< @/../examples/angular/src/ui/Dialogs/component.html#example-prompt [ HTML]
207
+ <<< @/../examples/angular/src/ui/Dialogs/component.ts#example-prompt [ TypeScript]
208
+ :::
209
+
210
+ </Tab >
211
+ <Tab flavor =" react " >
212
+
112
213
<<< @/../examples/react/src/components/ui/dialogs.tsx#example-prompt
214
+
215
+ </Tab >
216
+ <Tab flavor =" solid " >
217
+
113
218
<<< @/../examples/solid/src/ui/dialogs.tsx#example-prompt
219
+
220
+ </Tab >
221
+ <Tab flavor =" svelte " >
222
+
114
223
<<< @/../examples/svelte/app/components/ui/Dialogs.svelte#example-prompt
224
+
225
+ </Tab >
226
+ <Tab flavor =" vue " >
227
+
115
228
<<< @/../examples/vue/src/ui/Dialogs/component.vue#example-prompt
116
229
230
+ </Tab >
231
+ </Tabs >
232
+
117
233
A dialog for prompting the user for input.
118
234
119
235
- ` defaultText ` : Sets the default text to display in the input box.
@@ -131,13 +247,42 @@ See [prompt()](/api/#prompt), [CoreTypes.AutocapitalizationType](/api/namespace/
131
247
<img src =" ../assets/images/screenshots/android/Dialogs-Login.png " />
132
248
</DeviceFrame >
133
249
250
+ <Tabs >
251
+ <Tab flavor =" typescript " >
252
+
134
253
<<< @/../examples/typescript/src/ui/Dialogs/template.ts#example-login
135
- <<< @/../examples/angular/src/ui/Dialogs/component.html#example-login
254
+
255
+ </Tab >
256
+ <Tab flavor =" angular " >
257
+
258
+ ::: code-group
259
+ <<< @/../examples/angular/src/ui/Dialogs/component.html#example-login [ HTML]
260
+ <<< @/../examples/angular/src/ui/Dialogs/component.ts#example-login [ TypeScript]
261
+ :::
262
+
263
+ </Tab >
264
+ <Tab flavor =" react " >
265
+
136
266
<<< @/../examples/react/src/components/ui/dialogs.tsx#example-login
267
+
268
+ </Tab >
269
+ <Tab flavor =" solid " >
270
+
137
271
<<< @/../examples/solid/src/ui/dialogs.tsx#example-login
272
+
273
+ </Tab >
274
+ <Tab flavor =" svelte " >
275
+
138
276
<<< @/../examples/svelte/app/components/ui/Dialogs.svelte#example-login
277
+
278
+ </Tab >
279
+ <Tab flavor =" vue " >
280
+
139
281
<<< @/../examples/vue/src/ui/Dialogs/component.vue#example-login
140
282
283
+ </Tab >
284
+ </Tabs >
285
+
141
286
A dialog for prompting the user for credentials.
142
287
143
288
See [ login()] ( /api/#login ) .
0 commit comments