-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcustom-css-attributes.xml
72 lines (70 loc) · 1.78 KB
/
custom-css-attributes.xml
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
<!--
custom-css-attributes.xml can define the CSS attributes of your
own CustomItems.
Each attribute can have following attributes:
name (required): the name of the attribute, e.g. "icon-image".
description (optional): the description of the attribute.
type (optional): the type of the attribute, either "string", "integer",
"color", "boolean" or "style". Defaults to "string".
appliesTo (optional): A comma-separated list of classes for which the attribute can
be used, e.g. "MyCustomItem".
default (optional): The default-value of the attribute.
value (optional): All allowed values in a comma-separated list.
-->
<attributes>
<attribute
name="tabitem-left-arrow"
type="imageurl"
appliesTo="TabItem"
description="Left arrow icon for tabitem"
/>
<attribute
name="tabitem-right-arrow"
type="imageurl"
appliesTo="TabItem"
description="Right arrow icon for tabitem"
/>
<attribute
name="tabitem-roundtrip"
type="boolean"
appliesTo="TabItem"
description="Is the tab navigation wrap-around?"
default="false"
/>
<attribute
name="tabitem-activestyle"
type="style"
appliesTo="TabItem"
description="Style for the active tab"
/>
<attribute
name="tabitem-inactivestyle"
type="style"
appliesTo="TabItem"
description="Style for the inactive tab"
/>
<attribute
name="tabitem-scrolling-indicator-color"
type="color"
appliesTo="TabItem"
description="Scrolling indicator color"
/>
<attribute
name="tabitem-arrow-y-offset"
type="integer"
appliesTo="TabItem"
description="Arrow Y offset"
/>
<attribute
name="tabitem-arrow-x-offset"
type="integer"
appliesTo="TabItem"
description="Arrow X offset"
/>
<attribute
name="tabitem-tab-y-offset"
type="integer"
appliesTo="TabItem"
description="TabItem Y offset"
/>
</attributes>