Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 656 Bytes

datalist.md

File metadata and controls

38 lines (25 loc) · 656 Bytes

HAPEL Core Method Reference


<datalist ...>

Description

Creates a <dataist> html tag populated with <option> tags.

datalist($child, $id, $attr;

Parameters

Parameter Required Default
$child no false
$id no null
$attr no null

Return Values

string

Example

Usage:

echo datalist('content', 'my-id);

Result:

<datalist id="my-id">content</datalist>