javascript - How to use Bootstrap Popover with Angular2 -


i trying bootstrap 3 popover display angular 2 interpolated template. possible? here have far:

    $('.ba-header--user-menu').popover({       placement: 'bottom',       toggle: 'popover',       trigger: 'focus',       html: true,       content: '{{user.email}}'     }); 

which gives me this:

enter image description here

jquery , angular don't play together. install ng2-popover:

npm ng2-popover 

and use this:

<span popover="content shown in popover">     element on popover applied. </span> 

Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -