Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 998 Bytes

button.md

File metadata and controls

44 lines (31 loc) · 998 Bytes

HAPEL Core Method Reference


<button ...>

Description

Creates a <button> html tag.

button($child, $name, $value, $type, $class, $id, $style, $data, $attr);

Parameters

Parameter Required Default
$child no false
$name no null
$value no null
$type no 'button'
$class no null
$id no null
$style no null
$data no null
$attr no null

Return Values

string

Example

Usage:

echo button('Click Me');

Result:

<button>Click Me</button>