Skip to content

feat(popover): add functionality of displaying/attaching popover without using the directive #1983

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

Open
pgeyman opened this issue May 17, 2017 · 3 comments

Comments

@pgeyman
Copy link

pgeyman commented May 17, 2017

Is it possible to display/attach a popover to an element without using the directive?

I have occasions where I end up having to use non-angular 2 components (like fullcalendar) and I have an element I want to have a popup from, but am not able to add the angular 2 directives as I don't have an angular template.
I would rather not have to add and use some jquery popover component.

@valorkin
Copy link
Member

@pgeyman how you will pass a selector?
we are finishing to work on modals service, and it is very similar to what popover service could look like

@pgeyman
Copy link
Author

pgeyman commented Jul 25, 2017

@valorkin Assuming it is what you mean by a selector, I would be passing a DOM element or elementRef.

@YevheniiaMazur YevheniiaMazur changed the title Programmatically display popover feat(popover): add functionality of displaying/attaching popover without using the directive Jan 15, 2018
@sapariyaravi
Copy link

have anyone found the solution for how to pass DOM element or ElementRef to dynamically created popover without using directive.
Because I am using the d3 chart and all the elements of d3 created dynamically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants