l_bind_state_reorder: Reorder the state binding evaluation sequence

View source: R/l_bind.R

l_bind_state_reorderR Documentation

Reorder the state binding evaluation sequence

Description

The order the state bindings defines how they get evaluated once an event matches event patterns of multiple state bindings.

Usage

l_bind_state_reorder(target, ids)

Arguments

target

either an object of class loon or a vector that specifies the widget, layer, glyph, navigator or context completely. The widget is specified by the widget path name (e.g. '.l0.plot'), the remaining objects by their ids.

ids

new state binding id evaluation order, this must be a rearrangement of the elements returned by the l_bind_state_ids function.

Details

Bindings, callbacks, and binding substitutions are described in detail in loon's documentation webpage, i.e. run l_help("learn_R_bind")

Value

vector with binding id evaluation order (same as the id argument)

See Also

l_bind_state, l_bind_state_ids, l_bind_state_get, l_bind_state_delete


loon documentation built on July 9, 2023, 5:48 p.m.