Module: addon/components/sl-input

Extends

  • ember/Component
  • module:mixins/sl-input-based
  • module:mixins/sl-tooltip-based

Members

(inner) actions :Object

Type:
  • Object
Source:

(inner) classNames :Array.<String>

Type:
  • Array.<String>
Source:

(inner) clickToEdit :Boolean

Enable the click to edit styling

Type:
  • Boolean
Default Value:
  • false
Source:

(inner) dataTrigger :String

Type:
  • String
Default Value:
  • 'focus'
Source:

(inner, nullable) inputElementId :String

The input field's id attribute Used to expose this value externally for use in this component

Type:
  • String
Default Value:
  • null
Source:

(inner) isTypeaheadSetup :Boolean

Whether the typeahead.js functionality has been setup

Type:
  • Boolean
Default Value:
  • false
Source:

(inner) layout :Object

Type:
  • Object
Source:

(inner) suggestionNamePath :String

Lookup path for the suggestion items' name

Type:
  • String
Default Value:
  • 'name'
Source:

(inner) type :String

Type attribute for the containing div

Type:
  • String
Default Value:
  • 'text'
Source:

(inner, nullable) value :String

Value of the input

Type:
  • String
Default Value:
  • null
Source:

Methods

(inner) actions:blur() → {undefined}

Sends the 'blur' bound action when the input loses focus

Source:
Returns:
Type
undefined

(inner) getInput() → {jQuery.Object}

Get a reference to the internal input element

Source:
Returns:
Type
jQuery.Object

(inner) inputClass() → {String}

Class string for the internal input element

Source:
Returns:
Type
String

(inner) setInputElementId() → {undefined}

Captures and sets the input field's id attribute.

This is used to expose this value externally for use when composing this component into others.

Source:
Listens to Events:
  • event:didInsertElement
Returns:
Type
undefined

(inner) setupInputEvents() → {undefined}

Sets up the input event listeners exposed to the component's parent controller

Source:
Listens to Events:
  • event:didInsertElement
Returns:
Type
undefined

(inner) setupTypeahead() → {undefined}

Sets up the typeahead behavior when suggestions are supplied

Source:
Listens to Events:
  • event:didInsertElement
Observes:
  • suggestions
Returns:
Type
undefined

(inner) unregisterEvents() → {undefined}

Remove events

Source:
Listens to Events:
  • event:willClearRender
Returns:
Type
undefined