vue 引入2套ui组件_vue2的窗口UI组件

vue 引入2套ui组件

窗口 (vue-window)

Recent web applications are mainly for mobile environments. Therefore window UI is no longer mainstream. However, window UI is still useful for professional web applications for PC environments. This package is an implementation of window UI for PC environment as a Vue Component.

最近的Web应用程序主要用于移动环境。 因此,窗口UI不再是主流。 但是,窗口UI对于PC环境的专业Web应用程序仍然有用。 该软件包是PC环境中作为Vue组件的窗口UI的实现。

特征 (Features)

  • Window component for vue2

    vue2的窗口组件

  • Windows are draggable

    窗户是可拖动的

  • Automatic z-index control

    自动z-index控制

  • Resizable

    可调整大小

  • z-index group

    Z索引组

  • Configurable color theme

    可配置的颜色主题

  • Built-in 3 color themes

    内置3种颜色主题

  • Open / Close animation

    打开/关闭动画

  • Tested on Safari10, Chrome60, Firefox55, IE11, Edge38 For PCs

    在Safari10,Chrome60,Firefox55,IE11,Edge38上针对PC进行了测试

用法 (Usage)

安装 (Install)

npm install --save @hscmap/vue-window

建立 (Setup)

ES6 / TypeScript (ES6 / TypeScript)
import Vue from 'vue'
import * as VueWindow from '@hscmap/vue-window'

Vue.use(VueWindow)
普通JS (CommonJS)
var Vue = require('vue')
Vue.use(require('@hscmap/vue-window'))

(Example)

<template>
    <hsc-window-style-metal>
        <hsc-window title="Window 1" >
            Parameters:
            <fieldset>
                <legend>&alpha;</legend>
                <input type="range" />
            </fieldset>
            <fieldset>
                <legend>&beta;</legend>
                <input type="range" />
            </fieldset>
        </hsc-window>
    </hsc-window-style-metal>
</template>

翻译自: https://vuejsexamples.com/window-ui-component-for-vue2/

vue 引入2套ui组件

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值