A default value or a function constructing a default value. Arrays or objects are supported, if you want to use a literal function as a default value, use literal instead.
A default value. If a function is given, it will be passed as a literal value instead of being executed as a factory.
Marks this property as a model property, if true is given, it will use the event 'update:PROPNAME' as the binding trigger, where PROPNAME is the name of the decorated property. If a string is given, it will be used in place of the event instead.
Whether or not the property is required.
Whether or not the property is a two way property.
The type of the property. Should be a constructor function or an array of constructor functions.
A validator function returning true if a given value is valid and false otherwise.
Generated using TypeDoc
Parameters of the {@link Prop | @Prop} decorator and its flavors