Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 456 Bytes

caption.md

File metadata and controls

27 lines (18 loc) · 456 Bytes

HAPEL Method Parameters


$caption

(string), (optional), default: null

Adds a caption to figcaption HTML tag.

Value Use
null prevents the attribute from being added to the tag
string adds the value of 'string' as the attribute

Examples:

$caption = 'myCaption';
<figcaption>MyCaption</figcaption>

###Methods Using This Parameter