i do it and get result:
a(table: Table) {
console.log(table)
}
But when i try:
a(table: Table) {
console.log(table.initialized)
}
i get just undefined. if i try:
a(date: string, table: Table) {
if (table.initialized) {
...
}
}
It also treats table.initialized as undefined, meaning it's not in the console bug. Can you explain how it is possible? Func call here:
<p-table #table ... (onLazyLoad)="a(table)" dataKey="id">