Class Index | File Index

Classes


Class M.SearchBarView


Extends M.View.
M.SearchBarView defines a prototype of a search bar that can be used inside of a list view or independently as a plain input field with a search styling.
Defined in: search_bar.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
Determines whether the search bar is part of a list view.
 
If the search bar belongs to a list view, this property contains this list view.
 
The type of this object.
Fields borrowed from class M.View:
childViews, contentBinding, cssClass, cssClassOnError, cssClassOnInit, cssStyle, hasFocus, html, id, isInline, isView, modelId, parentView, triggerActionOnChange, triggerActionOnEnter, triggerActionOnKeyUp, value
Method Summary
Method Attributes Method Name and Description
 
This method sets its value to the value it has in its DOM representation and then delegates these changes to a controller property if the contentBindingReverse property is set.
Methods borrowed from class M.View:
addCssClass, attachToObservable, clearHtml, computeValue, contentDidChange, delegateValueUpdate, design, gotFocus, lostFocus, nl2br, removeCssClass, removeCssProperty, renderUpdate, secure, setCssProperty, style, theme, themeChildViews
Methods borrowed from class M.Object:
bindToCaller, create, destroy, extend, get, include, set
Class Detail
M.SearchBarView()
Field Detail
{Boolean} isListViewSearchBar
Determines whether the search bar is part of a list view.

{M.ListView} listView
If the search bar belongs to a list view, this property contains this list view.

{String} type
The type of this object.
Method Detail
setValueFromDOM(evt)
This method sets its value to the value it has in its DOM representation and then delegates these changes to a controller property if the contentBindingReverse property is set. Additionally call target / action if set.
Parameters:
{Object} evt
The event triggered this method.

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Dec 08 2010 15:07:33 GMT+0100 (MEZ)