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

Allow changing loading spinner icon for nz-table #3008

Closed
darshanrampatel opened this issue Mar 1, 2019 · 0 comments · Fixed by #3299
Closed

Allow changing loading spinner icon for nz-table #3008

darshanrampatel opened this issue Mar 1, 2019 · 0 comments · Fixed by #3299

Comments

@darshanrampatel
Copy link
Contributor

What problem does this feature solve?

When using the nzLoading property on an nz-table, the spinner is the default one. I would like to be able to change this to use a custom icon.

What does the proposed API look like?

New property on nz-table:

[nzLoadingIndicator]

of type

TemplateRef<void>

For example,

<ng-template #indicatorTemplate>
    <i nz-icon type="loading" style="font-size: 24px;"></i>
</ng-template>

the nz-spin in nz-table that needs to use this template as [nzIndicator]

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.

2 participants