/** * @class Ext.field.trigger.Trigger * @extend Ext.field.trigger.Base * @xtype trigger * @alias trigger.trigger * * Text Field {@link Ext.field.Text#triggers trigger} widget. */ /** * @cfg {Function/String} [handler=null] * Function to run when trigger is clicked or tapped. * @controllable * @accessor */ /** * @cfg {Boolean} [focusOnTap=true] * If `true`, the field will be focused upon tap of the trigger. * * To show the keyboard, tap the input field while it is focused. * @accessor */ /** * @cfg [iconCls=null] * @inheritdoc Ext.Button#cfg-iconCls * @accessor */ /** * @cfg {Boolean/Object} [repeat=null] * `true` to attach a {@link Ext.util.ClickRepeater tap repeater} to the trigger, * or a config object for a tap repeater. * @accessor */ /** * @cfg {Object} [scope=null] * Execution context for the {@link #handler} function. * @accessor */