Input

Component Documentation

matestack core component: Input

Show specs

The HTML input tag implemented in ruby.

Parameters

This component can take 3 optional configuration params and optional content.

# id (optional)

Expects a string with all ids the main should have.

# class (optional)

Expects a string with all classes the main should have.

# type (optional)

Expects a symbol with that specifies the input type.

Example

input type: :text, id: "foo", class: "bar"

returns

<input type="text" id="foo" class="bar" />