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
in addition to being paired with a vector of values delimited by screen widths to support responsive layouts, attributes should also be able to accept a mapping of values that will change based on the predefined states of a component.
this may not be an ideal long-term solution: overloading vectors and maps for this purpose, while syntactically convenient, is arguably semantically abusive. it may be worth considering custom types instead.
The text was updated successfully, but these errors were encountered:
this is partially achieved by the state s function. this does not seem like the correct approach, however.
jumblerg
changed the title
support attribute state maps
developer wants to change the value of an attribute based on the state of a parent.
Dec 3, 2016
jumblerg
changed the title
developer wants to change the value of an attribute based on the state of a parent.
developer wants to the value of an attribute to change based on the state of a parent.
Dec 3, 2016
in addition to being paired with a vector of values delimited by screen widths to support responsive layouts, attributes should also be able to accept a mapping of values that will change based on the predefined states of a component.
this may not be an ideal long-term solution: overloading vectors and maps for this purpose, while syntactically convenient, is arguably semantically abusive. it may be worth considering custom types instead.
The text was updated successfully, but these errors were encountered: