Protocol for splitting layout components across page boundaries.
Summary
Functions
Splits a component given the available height on the current page.
Returns {fitting_component, remaining_component}.
If the component fits entirely, returns {component, nil}.
If it cannot be split to fit, returns {nil, component}.
Types
@type t() :: term()
All the types that implement this protocol.
Functions
Splits a component given the available height on the current page.
Returns {fitting_component, remaining_component}.
If the component fits entirely, returns {component, nil}.
If it cannot be split to fit, returns {nil, component}.