@brunolr22/vue-table-dynamic-with-slot

0.0.32 • Public • Published

vue-table-dynamic-with-slot

This repo is a modification of original with slot capability.
Example:

<vue-table-dynamic-with-slot :params="params" @select="onRowChecked" @select-all="onAllRowChecked" ref="table">
  <template slot-scope="param" slot="column" v-if="param.table.rowIndex == 10 && param.table.index > 0">
    <span class="edit-icons">
      <h3>{{param.table.data}}</h3>
    </span>
  </template>
  <template slot-scope="param" slot="column" v-else>
    {{ param.table.data }}
  </template>
</vue-table-dynamic-with-slot>

Readme

Keywords

Package Sidebar

Install

npm i @brunolr22/vue-table-dynamic-with-slot

Weekly Downloads

7

Version

0.0.32

License

MIT

Unpacked Size

4.71 MB

Total Files

65

Last publish

Collaborators

  • brunolr22