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

docs: explain how to submit TemplateRef instances in global config #4321

Merged
merged 1 commit into from
Oct 22, 2019

Conversation

lppedd
Copy link
Contributor

@lppedd lppedd commented Oct 19, 2019

closes #4318

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[x] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

See issue.
Issue Number: #4318

Plus fixed a typo: Dynamically ChaingChaining Configurations

Does this PR introduce a breaking change?

[ ] Yes
[x] No

@netlify
Copy link

netlify bot commented Oct 19, 2019

Deploy preview for ng-zorro-master ready!

Built with commit dc53a65

https://deploy-preview-4321--ng-zorro-master.netlify.com

@codecov
Copy link

codecov bot commented Oct 19, 2019

Codecov Report

Merging #4321 into master will decrease coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4321      +/-   ##
==========================================
- Coverage   92.16%   92.15%   -0.01%     
==========================================
  Files         520      520              
  Lines       11016    11016              
  Branches     1997     1997              
==========================================
- Hits        10153    10152       -1     
  Misses        431      431              
- Partials      432      433       +1
Impacted Files Coverage Δ
components/time-picker/time-holder.ts 95.61% <0%> (-0.88%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c6bdf15...dc53a65. Read the comment docs.

Copy link
Member

@wzhudev wzhudev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks great! Thank you. I will translate it into Chinese later.

@@ -35,7 +35,85 @@ export class AppModule {}

These global configuration would be injected into a service named `NzConfigService` and gets stored.

## Dynamically Chaing Configs
### Templates
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This title could be more explicit. Something like "Provide Templates in Global Configutation".

Copy link
Contributor Author

@lppedd lppedd Oct 21, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wendzhue I've choosen "Provide Template Instances", as we already are in global configuration scope and it's sub-sub-sub header. Is it ok?

docs/global-config.en-US.md Outdated Show resolved Hide resolved
Copy link
Member

@wzhudev wzhudev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@vthinkxie vthinkxie merged commit 3fe1723 into NG-ZORRO:master Oct 22, 2019
@lppedd lppedd deleted the global-config branch October 22, 2019 07:24
Ricbet pushed a commit to Ricbet/ng-zorro-antd that referenced this pull request Apr 9, 2020
hsuanxyz pushed a commit to hsuanxyz/ng-zorro-antd that referenced this pull request Aug 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Explanation on how to register a TemplateRef in Global configuration
3 participants