Sensor widget builder (layout change detection).
pub fn anticipate(s: Sensor, a: Float) -> Sensor
Set the anticipation factor for resize detection.
pub fn build(s: Sensor) -> node.Node
Build the sensor into a renderable Node.
pub fn delay(s: Sensor, d: Int) -> Sensor
Set the delay in milliseconds.
pub fn event_rate(s: Sensor, rate: Int) -> Sensor
Set the event throttle rate in milliseconds.
pub fn new(id: String) -> Sensor
Create a new sensor builder.
pub fn on_resize(s: Sensor, tag: String) -> Sensor
Set the resize event tag.