jqwidgets-framework
Version:
jQWidgets is an advanced Angular, Vue, Blazor, React, Web Components, jquery, ASP .NET MVC, Custom Elements and HTML5 UI framework.
21 lines (17 loc) • 525 B
text/typescript
import { Component, AfterContentInit } from '@angular/core';
({
selector: 'app-root',
templateUrl: './app.component.html'
})
export class AppComponent implements AfterContentInit {
ngAfterContentInit() {
this.index = jqx.cookie.cookie("jqxTabs_jqxWidget");
if (undefined == this.index) {
this.index = 0;
}
}
index: any = null;
selected(event: any): void {
jqx.cookie.cookie("jqxTabs_jqxWidget", event.args.item);
}
}