class Lemonade::Block::Container

Direct Known Subclasses

Defined in:

lemonade/block/container.cr

Instance Method Summary

Instance methods inherited from class Lemonade::Block::CachedBlock

dirty! dirty!, dirty? dirty?, redraw(io) redraw

Instance methods inherited from class Lemonade::Block::BaseBlock

dirty! dirty!, dirty? dirty?, inspect(io : IO) : Nil inspect, parents : Array(Lemonade::Block::BaseBlock) parents, parents=(parents : Array(Lemonade::Block::BaseBlock)) parents=, redraw(io) redraw, render(io) render

Instance Method Detail

def <<(block) #

[View source]
def blocks : Array(Lemonade::Block::BaseBlock) #

[View source]
def blocks=(blocks : Array(Lemonade::Block::BaseBlock)) #

[View source]
def clear #

[View source]
def dirty? #
Description copied from class Lemonade::Block::BaseBlock

This is not a cached block, it always needs rendering.


[View source]
def empty?(*args, **options) #

[View source]
def empty?(*args, **options, &) #

[View source]
def render(io) #
Description copied from class Lemonade::Block::BaseBlock

TODO doc


[View source]
def separator=(separator : Lemonade::Block::BaseBlock | Nil) #

[View source]
def separator? : BaseBlock | Nil #

[View source]