@types/vue-splitpane
TypeScript definitions for vue-splitpane
Last updated 3 years ago by types .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @types/vue-splitpane 
SYNC missed versions from official npm registry.

Installation

npm install --save @types/vue-splitpane

Summary

This package contains type definitions for vue-splitpane (https://github.com/PanJiaChen/vue-split-pane/).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/vue-splitpane.

index.d.ts

import { VueConstructor } from "vue";

export default Splitpane;
export const Splitpane: SplitpaneConstructor;

export interface SplitpaneProps {
    minPercent: number;
    defaultPercent: number;
    split: string; // = ['vertical', 'horizontal']
    className: string;
}

export interface SplitpaneData {
    active: boolean;
    hasMoved: boolean;
    height: any; // null number string
    percent: number;
    type: string;
    resizeType: string;
}

export interface SplitpaneWatch {
    defaultPercent: (val: any) => void;
}

export interface SplitpaneMethods {
    onClick: () => void;
    onMouseDown: () => void;
    onMouseUp: () => void;
    onMouseMove: (e: Event) => void;
}

export interface SplitpaneComputed {
    userSelect: () => string;
    cursor: () => string;
}

export interface SplitpaneConstructor extends VueConstructor {
    props: SplitpaneProps;
    data: () => SplitpaneData;
    watch: SplitpaneWatch;
    methods: SplitpaneMethods;
    computed: SplitpaneComputed;
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: vue

Credits

These definitions were written by noonhorse.

Current Tags

  • 1.0.5                                ...           latest (2 years ago)
  • 1.0.1                                ...           ts3.5 (5 years ago)
  • 1.0.1                                ...           ts3.6 (5 years ago)
  • 1.0.1                                ...           ts3.7 (5 years ago)
  • 1.0.1                                ...           ts3.8 (5 years ago)
  • 1.0.1                                ...           ts3.9 (5 years ago)
  • 1.0.1                                ...           ts4.0 (5 years ago)
  • 1.0.1                                ...           ts4.1 (5 years ago)
  • 1.0.1                                ...           ts4.2 (5 years ago)
  • 1.0.1                                ...           ts4.3 (5 years ago)
  • 1.0.1                                ...           ts4.4 (5 years ago)
  • 1.0.5                                ...           ts4.5 (2 years ago)
  • 1.0.5                                ...           ts4.6 (2 years ago)
  • 1.0.5                                ...           ts4.7 (2 years ago)
  • 1.0.5                                ...           ts4.8 (2 years ago)
  • 1.0.5                                ...           ts4.9 (2 years ago)
  • 1.0.5                                ...           ts5.0 (2 years ago)
  • 1.0.5                                ...           ts5.1 (2 years ago)
  • 1.0.5                                ...           ts5.2 (2 years ago)
  • 1.0.5                                ...           ts5.3 (2 years ago)
  • 1.0.5                                ...           ts5.4 (2 years ago)
  • 1.0.5                                ...           ts5.5 (2 years ago)
  • 1.0.5                                ...           ts5.6 (2 years ago)
  • 1.0.5                                ...           ts5.7 (2 years ago)
  • 1.0.5                                ...           ts5.8 (2 years ago)

6 Versions

  • 1.0.5                                ...           2 years ago
  • 1.0.4                                ...           2 years ago
  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org | Home |