DefinitelyTyped/types/splitpanes/splitpanes-tests.ts
teen 84f0283b53 Add new definitions for [@types/splitpanes] (#36364)
* Add types of [@types/vue-splitpane] package

* Add types of [@types/vue-splitpane] package

* update split type

* fix EsLint Missing semicolon

* fix Eslint Missing semicolon

* fix esLint

* fix Eslint

* Add types of [@types/splitpanes] package

* fix file rename

* fix Submit multiple components at a PR

* fix rename

* fix build rename

* Add new definitions for [@types/splitpanes]

* fix tsconfig files list

* fix tsconfig files name

* fix eslint

* fix bug dt-header add object-literal-key-quotes

* fix Consecutive

* fix stander name
2019-07-03 11:11:53 -07:00

18 lines
506 B
TypeScript

import Vue from 'vue';
import splitPanes from 'splitpanes';
new Vue({
el: '#app',
data: {},
components: {
'split-panes': splitPanes,
},
template: `<split-panes class="default-theme" horizontal @resize="horizontalResize($event)" :dblClickSplitter="false" :push-other-panes="false">
<span splitpanes-min="2" splitpanes-size="35" splitpanes-max="85">
A
</span>
<span splitpanes-min="2" splitpanes-size="65" splitpanes-max="85">
B
</span>
</split-panes>`,
});