Sean Wu

Results 7 comments of Sean Wu

@skotturi I did ``import 'chart.js';`` in my page component instead of inserting chart.js in html

same here, reproduce: `new Switchery(input, {color: '#000', size: 'small'});` color works but size doesn't

just realised I was still using the 0.0.2 version, **which is the default version on npm**, update to 0.8.1 fixed the problem

@arlohosk I just downloaded the repo with a tagged version. like this one: https://github.com/abpetkov/switchery/tree/0.8.2

@arlohosk I don't think npm switchery package is from this repo, looks like someone forked a early version and left it there.

> Hi there, thank you for working on this! To better think about whether this is the right solution, could you list a few use cases? (I imagine you've needed...

@LeaVerou updated pr with hook, please have a look, let me know if I'm doing it wrong.