edit_button

NAML documentation   Watch a video
   Usages of this macro
... in macro_viewer.naml
582
583
584
585
586
587
588
589
590
591
592
593
594
595
<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>