Module function reference
button
A reference entry for button
button button (string text[, string type[, map attributes]]) ⇒ string
Creates an HTML button element.
Example
YASS
$html = HTML::button("Save", "submit", ["class" => "primary"])
Input: text="Save", type="submit", attributes=["class" => "primary"]
Output: <button class="primary" type="submit">Save</button>