0.0.1 • Published 7 years ago

vue-h-sticky v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

vue-h-sticky

npm version npm Build Status

Edge 12+, FF 36+, Chrome 49+, or use translation from ES2105 to ES5

Introduction

Under construction

Setup

npm install vue-h-sticky

Example

import stickyHeader from 'vue-h-sticky';

export default {
  template: `
    <div>
      <sticky-header>
        <table slot="cross">
          <thead>
            <tr>
              <th></th>
            </tr>
          </thead>
        </table>
        <table slot="top">
          <thead>
            <tr>
              <th></th>
            </tr>
          </thead>
        </table>
        <table slot="left">
          <tbody>
            <tr>
              <td></td>
            </tr>
          </tbody>
        </table>
        <table slot="body">
          <tbody>
            <tr>
              <td></td>
            </tr>
          </tbody>
        </table>
      </sticky-header>
    </div>
  `,
  
  components: {
    stickyHeader
  }
};