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:mention): add prefix property to nzOnSearchChange payload #1296

Merged
merged 1 commit into from
Apr 11, 2018

Conversation

hsuanxyz
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

nzOnSearchChange: EventEmitter<string>

What is the new behavior?

export interface MentionOnSearchTypes {
  value: string;
  prefix: string;
}

nzOnSearchChange: EventEmitter<MentionOnSearchTypes>

Does this PR introduce a breaking change?

[X] Yes
[ ] No

Other information

类似 Github 的提及,@# 会请求不同的接口获取数据。需要在事件中带上触发的前缀才能识别。

@codecov
Copy link

codecov bot commented Apr 10, 2018

Codecov Report

Merging #1296 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1296      +/-   ##
==========================================
+ Coverage   97.26%   97.26%   +<.01%     
==========================================
  Files         191      191              
  Lines        7926     7927       +1     
  Branches     1041     1041              
==========================================
+ Hits         7709     7710       +1     
  Misses         25       25              
  Partials      192      192
Impacted Files Coverage Δ
components/mention/mention.component.ts 99.39% <100%> (ø) ⬆️

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 c3b9c39...6fb7f53. Read the comment docs.

@vthinkxie vthinkxie merged commit 1af5b42 into NG-ZORRO:master Apr 11, 2018
@hsuanxyz hsuanxyz deleted the feat-mention-onsearch branch May 2, 2018 03:58
hsuanxyz added 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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants