Class metawidget.layout.DivLayout
Layout to arrange widgets using div tags.
Defined in: metawidget-layouts.js.
Constructor Attributes | Constructor Name and Description |
---|---|
metawidget.layout.DivLayout(config)
|
Method Attributes | Method Name and Description |
---|---|
getLabelString(widget, attributes, mw)
|
|
layoutLabel(outerDiv, widget, elementName, attributes, mw)
|
|
layoutWidget(widget, elementName, attributes, container, mw)
|
Method Detail
getLabelString(widget, attributes, mw)
- Parameters:
- widget
- attributes
- mw
- Returns:
- the label string, or a blank string if no label.
layoutLabel(outerDiv, widget, elementName, attributes, mw)
- Parameters:
- outerDiv
- widget
- elementName
- attributes
- mw
- Returns:
- the label widget
layoutWidget(widget, elementName, attributes, container, mw)
- Parameters:
- widget
- elementName
- attributes
- container
- mw