Class M.LabelView
Extends
M.View.
The is the prototype of any label view. It basically renders a simple plain
text can be styled using several properties of M.LabelView or providing one
ore more css classes.
Defined in: label.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Field Attributes | Field Name and Description |
---|---|
Determines whether a new line '\n' within the label's value should be transformed
into a line break '
' before it is rendered. |
|
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
- Methods borrowed from class M.View:
- addCssClass, attachToObservable, clearHtml, computeValue, contentDidChange, delegateValueUpdate, design, gotFocus, lostFocus, nl2br, removeCssClass, removeCssProperty, renderUpdate, secure, setCssProperty, setValueFromDOM, style, theme, themeChildViews
- Methods borrowed from class M.Object:
- bindToCaller, create, destroy, extend, get, include, set
Field Detail
{Boolean}
newLineToBreak
Determines whether a new line '\n' within the label's value should be transformed
into a line break '
' before it is rendered. Default: YES.
' before it is rendered. Default: YES.
{String}
type
The type of this object.