edit_button

NAML documentation   Watch a video
   Usages of this macro
... in macro_viewer.naml
605
606
607
608
609
610
611
612
613
614
615
616
617
618
<macro name="edit_button" requires="macro_source">
    <button id="editButton" class="toolbar" style="font-weight:bold" onclick="showEditor()">
        <img src="/images/tool.png" style="width:16px;height:17px;vertical-align:-25%"/>
        <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.is_custom_tweak
Binary
Namespace: MacroSourceNamespace
>
            <then>
                <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.is_override
Binary
Namespace: MacroSourceNamespace
>
                    <then>Edit this override</then>
                    <else>Edit this macro</else>
                </n.if.is_override>
            </then>
            <else>Override this macro</else>
        </n.if.is_custom_tweak>
    </button>
</macro>