ixfx
    Preparing search index...

    Function fromObject

    • Creates a HTML table where each row is a key-value pair from data. First column is the key, second column data.

      const dt = fromObject(`#hostDiv`);
      

      dt is a function to call when you want to update data:

      dt({
      name: `Blerg`,
      height: 120
      });

      Parameters

      • parentOrQuery: string | HTMLElement
      • Optionaldata: object
      • opts: Partial<DataTableOpts> = {}

      Returns Dom.DataTable.DataTable<object>