user3223056
user3223056

Reputation: 3

How can I use popover via javascript in angularjs module with ui.bootstrap?

How can I use popover via javascript in angularjs module with ui.bootstrap?

I am looking a solution like $modal service.

Thanks for your help.

Upvotes: 0

Views: 1075

Answers (1)

Alessandro Pezzato
Alessandro Pezzato

Reputation: 8832

AngularJS is a declarative framework. It's a bad style to use imperative behavior like calling a function when a event happen.

You can get what you want with a new directive, for your special case "image that popover a text when mouseenter". Refer to this Create Hoverable popover using angular-ui-bootstrap

Upvotes: 0

Related Questions