add_vertical_tab

NAML documentation   Watch a video
   Usages of this macro
... in ui_components.naml
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<macro name="add_vertical_tab" dot_parameter="text" parameters="url,selected,details,icon,style">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.is_vertical_tab
Macro
>
        <then>
            <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.selected>
                <then><li class="selected shaded-bg-color" style="[n.style/]"><n.hide_null
Binary
Namespace: BasicNamespace
Parameters: value
.icon/> <n.truncate
Binary
Namespace: NabbleNamespace
Parameters: size, if_truncated, text
. size="25"><n.text/></n.truncate.></li></then>
                <else><li style="[n.style/]"><n.hide_null
Binary
Namespace: BasicNamespace
Parameters: value
.icon/> <a href="[n.url/]"><n.truncate
Binary
Namespace: NabbleNamespace
Parameters: size, if_truncated, text
. size="25"><n.text/></n.truncate.></a></li></else>
            </n.if.selected>
        </then>
        <else>
            <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.selected>
                <then.details/>
            </n.if.selected>
        </else>
    </n.if.is_vertical_tab>
</macro>