Skip to main content

object

Function object 

Source
pub fn object() -> Model
Expand description

A new observable model with no properties yet.

What crate::observable! builds on: the class instance and the registrar, with Model::property called once per declared property. model is this plus one Int property, which is the short form for a model that holds one number.