Output

The HTML <output> tag, implemented in Ruby.

Parameters

This component can take up to 5 optional configuration params and either yield content or display what gets passed to the text configuration param.

id (optional)

Expects a string with all ids the <output> should have.

class (optional)

Expects a string with all classes the <output> should have.

name (optional)

Specifies a name for the <output> element

for (optional)

Specifies the relationship between the result of the calculation, and the elements used in the calculation

form (optional)

Specifies one or more forms the <output> element belongs to

Example 1:

returns

Example 2:

returns

Last updated

Was this helpful?