-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathBottomSheet.xml
More file actions
101 lines (101 loc) · 5.98 KB
/
BottomSheet.xml
File metadata and controls
101 lines (101 loc) · 5.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<?xml version="1.0" encoding="utf-8" ?>
<widget id="com.mendix.widget.native.bottomsheet.BottomSheet" supportedPlatform="Native" offlineCapable="true" pluginWidget="true" xmlns="http://www.mendix.com/widget/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mendix.com/widget/1.0/ ../../../node_modules/mendix/custom_widget.xsd">
<name>Bottom sheet</name>
<description />
<studioProCategory>Structure</studioProCategory>
<studioCategory>Structure</studioCategory>
<properties>
<propertyGroup caption="General">
<propertyGroup caption="General">
<property key="type" type="enumeration" defaultValue="modal">
<caption>Type</caption>
<description>Modal: a modal menu which is visible and triggered based on the trigger attribute. Expanding: a collapsed surface that can be expanded manually by the user.</description>
<enumerationValues>
<enumerationValue key="modal">Modal</enumerationValue>
<enumerationValue key="expanding">Expanding</enumerationValue>
</enumerationValues>
</property>
<property key="triggerAttribute" type="attribute" onChange="triggerAttributeChange" required="false">
<caption>Trigger attribute</caption>
<description>Defines if the modal bottom sheet is visible or not. Initially this value should be false. When set to true, the bottom sheet will be shown. When the bottom sheet is hidden, the trigger attribute value is set to false.</description>
<attributeTypes>
<attributeType name="Boolean"/>
</attributeTypes>
</property>
<property key="modalRendering" type="enumeration" defaultValue="basic">
<caption>Render</caption>
<description>Basic: creates the menu based on the configured options. Custom: free to model menu.</description>
<enumerationValues>
<enumerationValue key="basic">Basic</enumerationValue>
<enumerationValue key="custom">Custom</enumerationValue>
</enumerationValues>
</property>
<property key="itemsBasic" type="object" isList="true" required="false">
<caption>Items</caption>
<description />
<properties>
<property key="caption" type="string">
<caption>Caption</caption>
<category>General</category>
<description />
</property>
<property key="action" type="action" required="false">
<caption>Action</caption>
<category>General</category>
<description />
</property>
<property key="styleClass" type="enumeration" defaultValue="defaultStyle">
<caption>Style</caption>
<category>General</category>
<description>Styles are not supported on iOS when Native iOS variant is selected.</description>
<enumerationValues>
<enumerationValue key="defaultStyle">Default</enumerationValue>
<enumerationValue key="primaryStyle">Primary</enumerationValue>
<enumerationValue key="dangerStyle">Danger</enumerationValue>
<enumerationValue key="customStyle">Custom</enumerationValue>
</enumerationValues>
</property>
</properties>
</property>
<property key="nativeImplementation" type="boolean" defaultValue="true">
<caption>Native iOS variant</caption>
<description>If set to Yes, on iOS the native Action sheet is shown. If set to No, a uniform version will be shown on iOS, similar to Android.</description>
</property>
<property key="smallContent" type="widgets" required="false">
<caption>Always visible</caption>
<description />
</property>
<property key="largeContent" type="widgets" required="false">
<caption>Visible on first drag</caption>
<description />
</property>
<property key="showFullscreenContent" type="boolean" defaultValue="true">
<caption>Enable full screen</caption>
<description />
</property>
<property key="fullscreenContent" type="widgets" required="false">
<caption>Visible on drag to top of screen</caption>
<description />
</property>
<property key="onOpen" type="action" required="false">
<caption>On open</caption>
<description />
</property>
<property key="onClose" type="action" required="false">
<caption>On close</caption>
<description />
</property>
</propertyGroup>
<propertyGroup caption="Events">
<property key="triggerAttributeChange" type="action" required="false">
<caption>On change</caption>
<description>Called on change of the 'Trigger attribute'</description>
</property>
</propertyGroup>
<propertyGroup caption="Common">
<systemProperty key="Name"/>
<systemProperty key="Visibility" />
</propertyGroup>
</propertyGroup>
</properties>
</widget>