Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 439 Bytes

required.md

File metadata and controls

24 lines (16 loc) · 439 Bytes

HAPEL Method Parameters


$required

(bool), (optional), default: false

Adds the required attribute to an HTML tag.

Value Use
true sets the element to required="required"
false does not add anything to the element

Examples:

$required = true;
<tag required="required" {...}