<hello style="display: none" id='custom'> </hello> |
addDynamicTabComponent() {
const count: number = this.tabObj.items.length;
const item1: Object = { header: { text: 'Tab ' + count }, content: '#custom' };
this.tabObj.addTab([item1], this.tabObj.items.length);
this.tabObj.dataBind();
this.tabObj.select(count);
} |