Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.03 KB

meter.md

File metadata and controls

44 lines (31 loc) · 1.03 KB

HAPEL Core Method Reference


<meter ...>

Description

Creates a <meter> html tag.

meter($text, $value, $min, $max, $class, $id, $style, $data, $attr);

Parameters

Parameter Required Default
$text no false
$value no 0
$min no 0
$max no 100
$class no null
$id no null
$style no null
$data no null
$attr no null

Return Values

string

Example

Usage:

echo meter('Volume 25%', 25, 0, 100, 'volume-meter');

Result:

<meter value="25" min="0" max="100" class="volume-meter">Volume 25%</meter>