zng_wgt_scroll

Function v_page_unit

source
pub fn v_page_unit(
    child: impl UiNode,
    unit: impl IntoVar<Length>,
) -> impl UiNode
Expand description

P Vertical offset added when the PAGE_DOWN_CMD runs and removed when the PAGE_UP_CMD runs.

Relative lengths are relative to the viewport height.

This property sets the VERTICAL_PAGE_UNIT_VAR.