ux icon indicating copy to clipboard operation
ux copied to clipboard

ux-button custom type

Open dspublic opened this issue 5 years ago • 0 comments

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>

dspublic avatar Mar 21 '19 14:03 dspublic