Closed koddsson closed 7 years ago
Additionally the onChange callback on the input has changed. The callback now gives you the change event rather than just the Event.EventTarget.checked property.
Why? It seems like an implementation detail that doesn't need to be exposed.
Additionally the onChange callback on the input has changed. The callback now gives you the change event rather than just the Event.EventTarget.checked property.
Why? It seems like an implementation detail that doesn't need to be exposed.
It matches the behaviour of cf-component-input
as well as giving you access to the whole event in case you'd like to use the target element or any other data in the event.
What do you think about this @tajo ?
BREAKING CHANGE: Styles are now managed in the component using the CSS-in-JS framework
fela
. This internal re-write warrants a re-write.Additionally the
onChange
callback on the input has changed. The callback now gives you the change event rather than just theEvent.EventTarget.checked
property.Related-to: #212