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
Prev Previous commit
Next Next commit
feat(tooltip): add new nbTooltipTrigger parameter
  • Loading branch information
nnixaa committed Jan 9, 2019
commit af35dcf0b296184f44e0ed8766e1283d53b7fbaa
Original file line number Diff line number Diff line change
Expand Up @@ -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?

}

trigger(trigger: NbTrigger): this {
Expand Down