APIs

Show:

Abstract version of a model to use. Please use this model instead of directly extending the backbone model. This is will help minimize the amount of reused code needed to handle various factors (i.e. ahis session id, multiple backend protocals

Constructor

awa.ui.StringInput

(
  • options
)

Parameters:

  • options Object

    configuration object with various properties

    • [model] awa.mvc.Model optional

      Contents view that this view controls

    • [modelAttribute] String optional

      Contents view that this view controls

    • [contents] String optional

      Contents view that this view controls

    • [id] String optional
    • [maxlength] Integer optional
    • [name] String optional
    • [tip] String optional
    • [onChange] Function optional
    • [onEnter] Function optional
    • [onChangeDelay] Integer optional

      defaults to leaving field or pressing enter

Item Index

Methods

Methods

disable

(
  • disable
)
awa.ui.InputBaseView

disables the "input". useful to override for input groups

Parameters:

  • disable Boolean

    Flag

Returns:

hide

() awa.ui.InputBaseView

hides the view in the most effecient way possible

Returns: