Closed jeluard closed 10 years ago
New syntax will be:
(defwebcomponent my-component
:attributes {:attribute1 "default"
:attribute2 {:default 2 :type js/Number :events? true :attributes? true}})
With events?
and attributes?
defaulting to true
and type
being inferred from (non-optional) default
.
Investigate how feasible it is. Ideally modifying a property should change associated attribute and fire an event, if feasible.