new ludo.layout.Base()
Base class for ludoJS layouts
For tutorial on layouts, see ludojs.com/learn/layout.html
- Source:
Properties:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
viewport |
object |
Properties
|
Fires:
- ludo.layout.Base#rendered Fired after all children has been rendered and resized. Arguments: 1) the layout,event: 2) Parent view
- ludo.layout.Base#addChild Fired after adding new child to parent view. Arguments: 1) Layout, 2) parent view,event: 3) child
- ludo.layout.Base#addChildRuntime Fired after adding new child to parent during runtime, i.e. after first rendering with
code
view.addChild()
. Arguments: 1) Layout, 2) parent view, 3) childevent:
Methods
-
addChild(child, insertAt, pos)
-
f
Method executed when adding new child view to a layoutParameters:
Name Type Description child
ludo.View insertAt
ludo.View pos
String - Source:
-
<protected> getParentForNewChild()
-
Return parent DOM element for new child
- Source:
-
<protected> minimize(child, newSize)
-
Executed when a child is minimized. It set's temporary width or properties
Parameters:
Name Type Description child
ludo.View newSize
Object - Source:
-
<protected> setTemporarySize(child, newSize)
-
Store temporary size when a child is minimized or hidden
Parameters:
Name Type Description child
ludo.View newSize
Object - Source:
-
updateViewport(c)
-
Update viewport properties, coordinates of DHTML Container for child views, i.e. body of parent view
Parameters:
Name Type Description c
Object - Source: