Skip to content

Commit 8d06e82

Browse files
[update] indents
1 parent b26671e commit 8d06e82

30 files changed

+784
-784
lines changed

docs/sidebar/api/api_customhtml_properties.md

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -10,46 +10,46 @@ description: You can explore the Sidebar custom HTML properties of Sidebar in th
1010

1111
~~~js
1212
const data = [
13-
{
14-
type: "customHTML",
15-
id?: string | number,
16-
parent?: string,
17-
html?: string,
18-
css?: string | string[],
19-
hidden?: boolean,
13+
{
14+
type: "customHTML",
15+
id?: string | number,
16+
parent?: string,
17+
html?: string,
18+
css?: string | string[],
19+
hidden?: boolean,
2020
},
21-
// more Sidebar controls
21+
// more Sidebar controls
2222
]
2323
~~~
2424

2525
### Description
2626

2727
<table>
28-
<tbody>
28+
<tbody>
2929
<tr>
30-
<td><b>type</b></td>
31-
<td>(required) the item type, set it to "customHTML". If not specified - the <a href="../../navitem">"navItem"</a> type is applied by default.</td>
32-
</tr>
33-
<tr>
34-
<td><b>id</b></td>
35-
<td>(optional) the id of an item, auto-generated if not set</td>
36-
</tr>
37-
<tr>
38-
<td><b>parent</b></td>
39-
<td>(optional) the parent of the item</td>
40-
</tr>
41-
<tr>
42-
<td><b>html</b></td>
43-
<td>(optional) a string with HTML that should be inserted into the item</td>
44-
</tr>
45-
<tr>
46-
<td><b>css</b></td>
47-
<td>(optional) adds style classes</td>
48-
</tr>
49-
<tr>
50-
<td><b>hidden</b></td>
51-
<td>(optional) defines whether an item is hidden</td>
52-
</tr>
30+
<td><b>type</b></td>
31+
<td>(required) the item type, set it to "customHTML". If not specified - the <a href="../../navitem">"navItem"</a> type is applied by default.</td>
32+
</tr>
33+
<tr>
34+
<td><b>id</b></td>
35+
<td>(optional) the id of an item, auto-generated if not set</td>
36+
</tr>
37+
<tr>
38+
<td><b>parent</b></td>
39+
<td>(optional) the parent of the item</td>
40+
</tr>
41+
<tr>
42+
<td><b>html</b></td>
43+
<td>(optional) a string with HTML that should be inserted into the item</td>
44+
</tr>
45+
<tr>
46+
<td><b>css</b></td>
47+
<td>(optional) adds style classes</td>
48+
</tr>
49+
<tr>
50+
<td><b>hidden</b></td>
51+
<td>(optional) defines whether an item is hidden</td>
52+
</tr>
5353
</tbody>
5454
</table>
5555

docs/sidebar/api/api_menuitem_properties.md

Lines changed: 70 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -10,88 +10,88 @@ description: You can explore the Sidebar MenuItem properties of Sidebar in the d
1010

1111
~~~js
1212
const data = [
13-
{
14-
type: "menuItem",
15-
id?: string | number,
16-
parent?: string,
17-
value?: string,
18-
items?: IMenuElement[], // ISpacer | ISeparator | IMenuItem
19-
20-
count?: number,
21-
countColor?: "danger" | "secondary" | "primary" | "success",
22-
hotkey?: string,
23-
html?: string,
24-
icon?: string,
25-
tooltip?: string,
13+
{
14+
type: "menuItem",
15+
id?: string | number,
16+
parent?: string,
17+
value?: string,
18+
items?: IMenuElement[], // ISpacer | ISeparator | IMenuItem
19+
20+
count?: number,
21+
countColor?: "danger" | "secondary" | "primary" | "success",
22+
hotkey?: string,
23+
html?: string,
24+
icon?: string,
25+
tooltip?: string,
2626

27-
css?: string | string[],
28-
disabled?: boolean,
29-
hidden?: boolean,
27+
css?: string | string[],
28+
disabled?: boolean,
29+
hidden?: boolean,
3030
},
31-
// more Sidebar controls
31+
// more Sidebar controls
3232
]
3333
~~~
3434

3535
### Description
3636

3737
<table>
38-
<tbody>
38+
<tbody>
3939
<tr>
40-
<td><b>type</b></td>
41-
<td>(required) the type of a control, set it to "menuItem". If not specified - the <a href="../../navitem">"navItem"</a> type is applied by default.</td>
42-
</tr>
40+
<td><b>type</b></td>
41+
<td>(required) the type of a control, set it to "menuItem". If not specified - the <a href="../../navitem">"navItem"</a> type is applied by default.</td>
42+
</tr>
4343
<tr>
44-
<td><b>id</b></td>
45-
<td>(optional) the id of a control, auto-generated if not set</td>
46-
</tr>
47-
<tr>
48-
<td><b>parent</b></td>
49-
<td>(optional) the parent of the item</td>
50-
</tr>
51-
<tr>
52-
<td><b>value</b></td>
53-
<td>(optional) a value for the menu item. You need to set either the <b>value</b> or <b>html</b> property to the item</td>
54-
</tr>
55-
<tr>
56-
<td><b>items</b></td>
57-
<td>(optional) an array of children controls (note that all the children should have the type <i>menuItem</i>)</td>
58-
</tr>
59-
<tr>
60-
<td><b>count</b></td>
61-
<td>(optional) a badge with a number</td>
62-
</tr>
44+
<td><b>id</b></td>
45+
<td>(optional) the id of a control, auto-generated if not set</td>
46+
</tr>
6347
<tr>
64-
<td><b>countColor</b></td>
65-
<td>(optional) the color of a badge with number: "danger" | "secondary" | "primary" | "success" </td>
66-
</tr>
67-
<tr>
68-
<td><b>hotkey</b></td>
69-
<td>(optional) the name of a keyboard shortcut for a menu item</td>
70-
</tr>
71-
<tr>
72-
<td><b>html</b></td>
73-
<td>(optional) a string with HTML that should be inserted into the menu item</td>
74-
</tr>
48+
<td><b>parent</b></td>
49+
<td>(optional) the parent of the item</td>
50+
</tr>
7551
<tr>
76-
<td><b>icon</b></td>
77-
<td>(optional) the name of an <a href="../../../menu/customization">icon</a> from the used icon font</td>
78-
</tr>
79-
<tr>
80-
<td><b>tooltip</b></td>
81-
<td>(optional) a tooltip for the menuItem</td>
82-
</tr>
83-
<tr>
84-
<td><b>css</b></td>
85-
<td>(optional) adds style classes</td>
86-
</tr>
87-
<tr>
88-
<td><b>disabled</b></td>
89-
<td>(optional) defines whether an item is disabled</td>
90-
</tr>
91-
<tr>
92-
<td><b>hidden</b></td>
93-
<td>(optional) defines whether a control is hidden</td>
94-
</tr>
52+
<td><b>value</b></td>
53+
<td>(optional) a value for the menu item. You need to set either the <b>value</b> or <b>html</b> property to the item</td>
54+
</tr>
55+
<tr>
56+
<td><b>items</b></td>
57+
<td>(optional) an array of children controls (note that all the children should have the type <i>menuItem</i>)</td>
58+
</tr>
59+
<tr>
60+
<td><b>count</b></td>
61+
<td>(optional) a badge with a number</td>
62+
</tr>
63+
<tr>
64+
<td><b>countColor</b></td>
65+
<td>(optional) the color of a badge with number: "danger" | "secondary" | "primary" | "success" </td>
66+
</tr>
67+
<tr>
68+
<td><b>hotkey</b></td>
69+
<td>(optional) the name of a keyboard shortcut for a menu item</td>
70+
</tr>
71+
<tr>
72+
<td><b>html</b></td>
73+
<td>(optional) a string with HTML that should be inserted into the menu item</td>
74+
</tr>
75+
<tr>
76+
<td><b>icon</b></td>
77+
<td>(optional) the name of an <a href="../../../menu/customization">icon</a> from the used icon font</td>
78+
</tr>
79+
<tr>
80+
<td><b>tooltip</b></td>
81+
<td>(optional) a tooltip for the menuItem</td>
82+
</tr>
83+
<tr>
84+
<td><b>css</b></td>
85+
<td>(optional) adds style classes</td>
86+
</tr>
87+
<tr>
88+
<td><b>disabled</b></td>
89+
<td>(optional) defines whether an item is disabled</td>
90+
</tr>
91+
<tr>
92+
<td><b>hidden</b></td>
93+
<td>(optional) defines whether a control is hidden</td>
94+
</tr>
9595
</tbody>
9696
</table>
9797

0 commit comments

Comments
 (0)