PluginProbe
The Innovative Form Builder – IvyForms / 0.9
The Innovative Form Builder – IvyForms v0.9
1.5.1 1.5 1.4.1 1.4 trunk 0.1.2 0.2 0.2.1 0.3 0.3.1 0.4 0.5 0.6 0.6.1 0.6.1-backup 0.6.1.1 0.7 0.8 0.8.1 0.8.2 0.9 0.9.1 1.0 1.1 1.1.1 All 27 releases
ivyforms / frontend / src / views / admin / testing / testing-page / TestingFAB.vue

TestingFAB.vue in The Innovative Form Builder – IvyForms 0.9, at frontend/src/views/admin/testing/testing-page/TestingFAB.vue

64 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <template>
2 <h3>FAB Props Controls</h3>
3 <div class="fab-controls">
4 <label>
5 <select v-model="color">
6 <option value="fab">FAB</option>
7 <option value="tertiary">Tertiary</option>
8 </select>
9 </label>
10
11 <label>
12 <input v-model="indicator" type="checkbox" />
13 Indicator
14 </label>
15
16 <label>
17 Indicator Priority:
18 <select v-model="priority">
19 <option value="primary">Primary</option>
20 <option value="secondary">Secondary</option>
21 <option value="amber">Amber</option>
22 </select>
23 </label>
24
25 <label>
26 Option:
27 <select v-model="option">
28 <option value="sort">Sort</option>
29 <option value="filter">Filter</option>
30 <option value="folder">Folder</option>
31 <option value="datepicker">Date Picker</option>
32 <option value="import">Import</option>
33 <option value="export">Export</option>
34 </select>
35 </label>
36 </div>
37
38 <h3>FAB Component Preview</h3>
39 <div class="fab-preview">
40 <IvyIndicatorButton
41 :color="color"
42 :type="option"
43 :indicator-priority="priority"
44 :indicator="indicator"
45 />
46 </div>
47 </template>
48
49 <script setup lang="ts">
50 import { ref } from 'vue'
51
52 const color = ref<'fab' | 'tertiary'>('fab')
53 const priority = ref<'primary' | 'secondary' | 'amber'>('secondary')
54 const option = ref<'sort' | 'filter' | 'folder' | 'datepicker' | 'import' | 'export'>('sort')
55 const indicator = ref(true)
56 </script>
57
58 <style lang="scss">
59 .fab-preview {
60 width: 600px;
61 align-items: center;
62 }
63 </style>
64