Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting defaults for spinners #28

Closed
mubaidr opened this issue Feb 20, 2019 · 2 comments
Closed

Setting defaults for spinners #28

mubaidr opened this issue Feb 20, 2019 · 2 comments
Labels

Comments

@mubaidr
Copy link
Contributor

mubaidr commented Feb 20, 2019

Is there any to set custom default (timing, color etc) so that it would just work with <atom-spinner/>

@asvae asvae added the question label Apr 17, 2019
@asvae
Copy link
Member

asvae commented Apr 17, 2019

Do you want a global default?

So far we provide component default and a way to override via props.

@asvae
Copy link
Member

asvae commented Apr 17, 2019

The simplest solution I can think of is to use extends and override the props as you see fit.

Providing an API in no hacky way would involve doing vue plugin. And that's kinda a lot of boilerplate for users.

@mubaidr mubaidr closed this as completed Apr 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants