Hello.
To make jqxTabs work I need to declare at least one empty tab in HTML file :
<jqxTabs #tabs>
<ul>
<li></li>
</ul>
<div></div>
</jqxTabs>
The problem is I don’t need that empty tab. If I try to remove it in ngAfterViewInit() method :
this.tabs.removeFirst();
I get the following error code in Chrome console :
ERROR TypeError: Cannot read property ‘offsetLeft’ of undefined
at eval (jqxtabs.js:8)
at ZoneDelegate.invokeTask (zone.js:421)
at Object.onInvokeTask (core.js:4751)
at ZoneDelegate.invokeTask (zone.js:420)
at Zone.runTask (zone.js:188)
at ZoneTask.invokeTask (zone.js:496)
at ZoneTask.invoke (zone.js:485)
at timer (zone.js:2025)
The question is : how can I create jqxTabs with no tabs on it ? Or if it not possible, how can I remove that redundant tab in ngAfterViewInit() method ?
Thank you !