Class bbq.gui.form.behaviour.PlaceholderTextBehaviour
Defined in: PlaceholderTextBehaviour.js.
Adds the
placeholder
attribute to a form field or shims in support if placeholder is unsupported
Class Summary
Constructor Attributes |
Constructor Name and Description |
|
Adds the placeholder
attribute to a form field or shims in support if placeholder is unsupported
|
Method Summary
Method Attributes |
Method Name and Description |
|
Sets the field on which this behaviour operates
|
Constructor Detail
bbq.gui.form.behaviour.PlaceholderTextBehaviour(options)
Parameters:
Name |
Type |
Comment |
options |
{Object} |
|
options.text |
{String} |
The placeholder text |
Method Detail
setField(field)
Sets the field on which this behaviour operates