Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
aurelia todo tooltip attached
attached() {
$(this.element).tooltip({
title:this.title,
placement:this.placement
});
}
@Vallabharayudu

This comment has been minimized.

Copy link

@Vallabharayudu Vallabharayudu commented Sep 19, 2016

I am following the structure to implement popover from Sean Hunter Blog . Now i want provide popover content as a dynamic html content ,that means I want to show one html pattern inside content.

Previously I work with knockout.js there we can write like below code
data-bind="popover: { template: 'myId', trigger: 'click', placement: 'right', container: 'body' }"

and "myId" will contain HTML like below code

<div id="myId">Popover Content Goes here</div>

Is there any way to implement like above with aurelia js.

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