Description

* ViewBlock : the concept of Blocks or Slots in the View layer. Slots or blocks are combined with extending views and layouts to afford slots of content that are present in a layout or parent view, but are defined by the child view or elements used in the view.

Properties

Methods

InheritedAbstractFinalStaticDatatypeHeader
voidvoid concat(string blockName, string blockContent = null, string blockMode = DViewBlock.APPEND)
voidvoid set(string blockName, string blockContent)
boolbool hasKey(string blockName)
stringstring active()
voidvoid start(string blockName, string blockMode = DViewBlock.OVERRIDE)
voidvoid set(string blockName, Json blockData)
voidvoid end()
STRINGAASTRINGAA unclosedBlocks()
string[]string[] keys()
stringstring get(string blockName, string defaultContent = "")