button

Creates a button with attributes required by theme.

It accepts conent of the button as a first argument, which can be either text or DOM node. The second argument is an object with options:

The function returns standard HTMLElement that can be added to the DOM.

{%- call ui.util.call(show_example) %} {%- raw %} {%- set id = ui.util.id() -%}
{%- endraw %} {%- endcall %}