You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
identity might want to reference that this is used by can-reflect.getSchema and the models.
String -> needs an example
function()ArrayGETTER - needs better examples
Code following "Within a property definition," isn't js.
Might want to specify order -> TYPE -> SETTER -> GETTER. Also how default() will use the type.
can-define.types.valueOptions.html
ValueOptions doesn't really say what it relates to. No description.
Nothing in signature.
Needs to be code-penable.
can-define.types.default.html
defined on demand (lazily)
might want to talk about how these will go through type and set. (
codepen
can-define.types.defaultConstructor.html
Use section should explain what it's doing
codepen
can-define.types.get.html
read on a define map
like can-observation
might want to say DON'T set state in a get()
is the shorthand mentioned?
Typically, lastSetValue should be an observable value, like a can-compute or promise. If it's not, it's likely that a set should be used instead. Is this accurate?
can-define
can-define.types.html
can-define-types.can-define.types.propDefinition.html
defaultoption shows the oldvalue.typeshould give a hint at what should be done.serializemight want to showfalseoption.identitymight want to reference that this is used by can-reflect.getSchema and the models.String-> needs an examplefunction()ArrayGETTER- needs better examplesjs.default()will use thetype.can-define.types.valueOptions.html
can-define.types.default.html
typeandset. (can-define.types.defaultConstructor.html
can-define.types.get.html
get()computedproperties?valueas the place whereget()isn't able to derive the value.