- I am trying to display the jquery tabs in angular way.
- so I created a method tabsUL() where I am trying to display the value in the alert but I am not getting it,
- after that I am not not sure how to proceed.
- providing my jquery codepen below
- providing plnkr also below which is not working
can you guys tell me how to proceed
working fiddle https://codepen.io/texirv/pen/Vzdqpo
not working fiddle http://plnkr.co/edit/XMLRIGEJLnxK3Vv9Y8Ma?p=preview
export class App {
constructor() {
this.name = 'Angular2'
}
tabsUL(): void {
//console.log("I am here");
//alert("I am here");
var tab_id = $(this).attr('data-tab');
alert("tab_id------>" + tab_id);
}
}
