项目
在 GitHub 查看
michitaro/vue-window
关于
适用于 Vue 2 的窗口组件
网站与应用开发可以做什么
- Window component for vue2
- Windows are draggable
- Automatic z-index control
- Configurable color theme
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文vue-window
😣 This library is not compatible with Vue3! 😣
Introduction
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.
Working Demo
Features
- Window component for vue2
- Windows are draggable
- Automatic z-index control
- Resizable
- z-index group
- Configurable color theme
- Built-in 3 color themes
- Open / Close animation
- Tested on Safari10, Chrome60, Firefox55, IE11, Edge38 For PCs
- iOS Support 🎉

Usage
Install
npm install --save @hscmap/vue-window
Setup
ES6 / TypeScript
import Vue from 'vue'
import * as VueWindow from '@hscmap/vue-window'
Vue.use(VueWindow)
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>α</legend>
<input type="range" />
</fieldset>
<fieldset>
<legend>β</legend>
<input type="range" />
</fieldset>
</hsc-window>
</hsc-window-style-metal>
</template>
Other examples are available here.
see also @hscmap/vue-menu. This is a menu UI component for vue2 with the same color themes.
Contributing
Any comments, suggestions or PRs are welcome 😀
探索相关项目
加载中…