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
@icaraps in the attached Playground it works with later defining button properties, same as I do in the Dart example:
var nb = document.createElement('button')
nb.title = "New Button"
nb.innerText = "New Button"
nb.setAttribute('is', 'coral-button')
nb.setAttribute('variant', 'default')
nb.setAttribute('size', 'M')
var root = document.querySelector('#root')
root.append(nb)
Expected Behavior
Runtime added buttons show correct styling
Actual Behavior
Runtime created buttons stay the same as default browser <button ...>
Reproduce Scenario (including but not limited to)
Repo: https://github.com/DQvsRA/Wire
Example: Counter (web)
See: example/counter/web/components/counter_button.dart
Steps to Reproduce
Browser name/version/os (ie Chrome Version 62.0.3202.94 (Official Build) (64-bit) MacOS)
Any browser
Coral Spectrum version
I use: https://opensource.adobe.com/coral-spectrum/dist/playground/dist/css/coral.css
Sample Code that illustrates the problem (use the Playground if possible)
It works in playground with JS: https://opensource.adobe.com/coral-spectrum/dist/playground/#?livereload=true&screen=vertical&code=MTczLDE0Niw2MSw3OSw0LDMzLDE2LDEzNCwyMzUsMjE5LDk1LDEyOSw4OCwyMzYsMTUzLDIzMiwyMTAsMjcsMTE4LDE5LDE5MSwxMCwxMSw2MywxOCwxMDksNDQsODksMjQsMTExLDgxLDE0LDg2LDEwMiwyNDYsMjQ0LDI1MiwyNDUsMTk0LDIyNSwyNDksMTcsMTQxLDE0OSwyMTMsNDgsMjA0LDE5NSw1OSwyNDMsMiwxMTQsMjMxLDI0NCwyMzQsMjI4LDI0NiwyMzgsMjUwLDE0MCwxMywxODAsMTE2LDkzLDM3LDE4MywxLDE0OCwyMzMsNDIsMTk4LDE2NCwxNzksMjU0LDE0NSw2OSwxMTIsNDUsNzEsOTAsNTksMTkyLDEsMTI4LDU2LDI3LDM0LDIyMCwxODMsMTI0LDMyLDI2LDI0MSw4MCwxMzYsNDgsMTMwLDE5OSw0OCw2OSwxMywxNDEsNTAsMTYxLDEzNSw3MCwxMzUsMTY1LDIwOC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