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
Current behavior:
The typeChanged method of UXButton class doesn't allow a custom type value use. if (newValue == null || typeClasses.includes("ux-button--" + newValue) === false ) { newValue = 'raised'; }
What is the expected behavior?
I would like this; if (newValue == null ) { newValue = 'raised'; }
What is the motivation / use case for changing the behavior?
In this case, we can define a custom button style in css, and use it as type parameter: <ux-button type="custom-type"></ux-button>
The text was updated successfully, but these errors were encountered:
I'm submitting a feature request
Library Version:
0.14.1
Current behavior:
The typeChanged method of UXButton class doesn't allow a custom type value use.
if (newValue == null || typeClasses.includes("ux-button--" + newValue) === false ) { newValue = 'raised'; }
What is the expected behavior?
I would like this;
if (newValue == null ) { newValue = 'raised'; }
What is the motivation / use case for changing the behavior?
In this case, we can define a custom button style in css, and use it as type parameter:
<ux-button type="custom-type"></ux-button>
The text was updated successfully, but these errors were encountered: