API Docs for: 0.0.2
Show:

layout.Base Class

Module: language

Base class for ludoJS layouts

Methods

addChild

(
  • child
  • insertAt
  • pos
)

Method executed when adding new child view to a layout

Parameters:

  • child ludo.View
  • insertAt ludo.View
  • pos String

clearTemporaryValues

(
  • child
)
protected

Clear temporary width or height values. This method is executed when a child is shown or maximized

Parameters:

  • child ludo.View

getParentForNewChild

() protected

Return parent DOM element for new child

hideChild

(
  • child
)
private

Executed when a child is hidden. It set's the internal layout properties width and height to 0(zero)

Parameters:

  • child ludo.View

minimize

(
  • child
  • newSize
)
protected

Executed when a child is minimized. It set's temporary width or properties

Parameters:

  • child ludo.View
  • newSize Object

onNewChild

() private

Implementation in sub classes

setTemporarySize

(
  • child
  • newSize
)
protected

Store temporary size when a child is minimized or hidden

Parameters:

  • child ludo.View
  • newSize Object

updateViewport

(
  • c
)

Update viewport properties, coordinates of DHTML Container for child views, i.e. body of parent view

Parameters:

Attributes

renderer

Function

Provided by the effect module.

Defined in api\src\grid\row-manager.js:5

A function returning css class for current row as string. Current record will be passed to function

Default: undefined

Events

addChild

Event fired by layout manager when a new child is added

Event Payload:

  • child ludo.View
  • layout ludo.layout.Base

    manager