0.0.1 • Published 7 years ago
vue-h-sticky v0.0.1
vue-h-sticky
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
}
};
0.0.1
7 years ago