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/context menu trigger #1139

Merged
merged 9 commits into from
Jan 9, 2019
Merged

Feat/context menu trigger #1139

merged 9 commits into from
Jan 9, 2019

Conversation

nnixaa
Copy link
Collaborator

@nnixaa nnixaa commented Jan 8, 2019

Closes #1112

* refactor(overlay): trigger strategy builder is a service now

* refactor(overlay): remove document setter

* refactor(popover): rename mode to trigger, deprecate mode

* feat(overlay): noop trigger

* docs(popover): add noop example
@nnixaa nnixaa requested a review from Tibing January 8, 2019 17:48
@@ -201,7 +201,7 @@ export class NbTriggerStrategyBuilderService {
protected _container: () => ComponentRef<any>;
protected _trigger: NbTrigger;

constructor(@Inject(NB_DOCUMENT) protected _document) {
constructor(@Inject(NB_DOCUMENT) protected _document: Document) {
Copy link
Member

Choose a reason for hiding this comment

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

Are you sure we'll not have any issues with the Document token in aot mode?

@nnixaa nnixaa merged commit 27b291e into master Jan 9, 2019
@nnixaa nnixaa deleted the feat/context-menu-trigger branch January 9, 2019 10:45
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

2 participants