Variable: insertTable$

const insertTable$: NodeRef<object>

A signal that will insert a table with the published amount of rows and columns into the active editor.

Example

const insertTable = usePublisher(insertTable$)
// ...
insertTable({ rows: 3, columns: 4 })

Type declaration

columns?

optional columns: number

The nunber of columns of the table.

rows?

optional rows: number

The nunber of rows of the table.