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

Is it possible? to custom spin indicator in all view with one templateRef #2792

Closed
9haroon opened this issue Jan 16, 2019 · 2 comments · Fixed by #4221
Closed

Is it possible? to custom spin indicator in all view with one templateRef #2792

9haroon opened this issue Jan 16, 2019 · 2 comments · Fixed by #4221

Comments

@9haroon
Copy link

9haroon commented Jan 16, 2019

What problem does this feature solve?

How to custom spin indicator in all view with one templateRef
now nz-spin can custom via attribute "nzIndicator" with TemplateRef value's type, so that template should provide templateRef for all view that nzSpin is used.

What does the proposed API look like?

could it custom by provider in ngModule? like useValue

@hsuanxyz hsuanxyz added the 💬 Discussion Need more insights to this issue label Jan 16, 2019
@wzhudev
Copy link
Member

wzhudev commented Jan 16, 2019

Like Empty component, some components used by our own components should provide a unified way for users to set default content.

@9haroon
Copy link
Author

9haroon commented Jan 16, 2019

Could you give me an example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants