Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
tooltip example custom attribute
import {customAttribute, inject, bindable} from 'aurelia-framework';
import $ from 'bootstrap';
export class Tooltip {
element: HTMLElement;
@bindable title: any;
@bindable placement: any;
constructor(element) {
this.element = element;
attached() {
<require from="./tooltip"></require>
<a class="btn btn-default" data-toggle="tooltip" tooltip="placement:top; title: details">
<i class="fa fa-list-alt"></i> details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.