Documentation / @ripl/vue / BOOLEAN_PROP
Variable: BOOLEAN_PROP ​
constBOOLEAN_PROP:object
Defined in: adapters/vue/src/core/props.ts:22
A boolean prop. default: undefined is load-bearing: without an explicit default Vue casts an absent boolean prop to false, which would override Ripl's own defaults rather than leave them alone. Declaring the default keeps valueless-attribute casting (<ripl-rect clip>) while letting an omitted prop stay omitted.
Type Declaration ​
default ​
readonlydefault:undefined=undefined
Absent means unset, so an omitted prop leaves the Ripl default alone.
type ​
readonlytype:BooleanConstructor=Boolean
Vue's runtime type check for a boolean.