Roo.util.Observable
Roo.Component
Roo.bootstrap.Component
Roo.bootstrap.Input
Roo.bootstrap.TriggerField 

		   

Class Roo.bootstrap.TriggerField

Package:Roo.bootstrap
Defined In: Roo/bootstrap/TriggerField.js.
Class:TriggerField
Subclasses: Roo.bootstrap.ComboBox, Roo.bootstrap.MoneyField, Roo.bootstrap.PhoneInput
Extends: Roo.bootstrap.Input
Provides a convenient wrapper for TextFields that adds a clickable trigger button (looks like a combobox by default).
The trigger has no default action, so you must assign a function to implement the trigger click handler by
overriding {link onTriggerClick}. You can create a TriggerField directly, as it renders exactly like a combobox
for which you can provide a custom implementation. For example:

var trigger = new Roo.bootstrap.TriggerField();
trigger.onTriggerClick = myTriggerFn;
trigger.applyTo('my-field');


However, in general you will most likely want to use TriggerField as the base class for a reusable component.
{link Roo.bootstrap.DateField} and {link Roo.bootstrap.ComboBox} are perfect examples of this.
Class Comments / Notes => [Add Your comment/notes about this class]
Config Options (Usually are also Properties)
Options Defined By
Public Properties - Has None
Public Methods
Method Defined By
Events
Event Defined By
Documentation generated by Introspection Doc Generator on Fri Jul 13 2018 14:10:54 GMT+0800 (HKT) Based on JsDoc Toolkit