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

feat(module: popover): feat add customClass for customer #129

Merged
merged 3 commits into from
Dec 3, 2018

Conversation

Guoyuanqiang
Copy link
Member

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

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

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

@codecov
Copy link

codecov bot commented Nov 30, 2018

Codecov Report

Merging #129 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #129      +/-   ##
==========================================
+ Coverage   86.51%   86.52%   +0.01%     
==========================================
  Files         221      221              
  Lines        6983     6985       +2     
  Branches      978      978              
==========================================
+ Hits         6041     6044       +3     
  Misses        550      550              
+ Partials      392      391       -1
Impacted Files Coverage Δ
components/popover/popover.component.ts 100% <ø> (ø) ⬆️
components/popover/popover-options.provider.ts 100% <100%> (ø) ⬆️
components/popover/popover.directive.ts 85.98% <100%> (+1.07%) ⬆️

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 5f24260...42922fe. Read the comment docs.

@fisherspy
Copy link
Collaborator

className maybe better than customClass?

@@ -20,6 +20,7 @@ Properties | Descrition | Type | Default
| mask | Whether to display the mask background layer | Boolean | false |
| overlay | Popup layer content | TemplateRef | - |
| onSelect | when an option is selected | (node: any, index?: number): void | - |
| className | Custom popover class | string | am-popover |
Copy link
Contributor

@3fuyu 3fuyu Dec 3, 2018

Choose a reason for hiding this comment

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

| className | Custom popover class, e.g. "am-popover-${your custom class}" | string | am-popover |
much better?

@3fuyu 3fuyu merged commit 26bbe53 into NG-ZORRO:master Dec 3, 2018
@Guoyuanqiang Guoyuanqiang deleted the guoyq branch December 3, 2018 07:05
fisherspy pushed a commit that referenced this pull request Mar 10, 2020
* feat(module: popover): feat add customCls for customer

* feat(module: popover): feat modify className for customer

* docs(module:popover): update docs className descrpition (#120)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants