@omiu/table

Components that show tree nested data structures.

Usage no npm install needed!

<script type="module">
  import omiuTable from 'https://cdn.skypack.dev/@omiu/table';
</script>

README

Table

Components that show tree nested data structures.

Import

import '@omiu/table'

Or use script tag to ref it.

<script src="https://unpkg.com/@omiu/table"></script>

Usage

<o-table></o-table>

API

Props

{
  dataSource: any[],
  columns: object,
  checkbox: boolean,
  border: boolean
}

Events

  • changeall
  • change