@hscmap/vue-window

Vue component for window
9,277 297
Install
npm install @hscmap/vue-window
Latest Version:2.4.4
Vue:2
License:MIT
Last Updated:May 22, 2022
Links: GitHub  ·  npm
Maintainer: michitaro

vue-window

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 🎉

Screenshot

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>&alpha;</legend>
                <input type="range" />
            </fieldset>
            <fieldset>
                <legend>&beta;</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 😀

Related Packages

@hscmap/vue-menu

Vue component for menu & contextmenu

11,579 257
vue-window-manager

This module allows the management of windows within a Vue.js application. The wi...

2,865 21
seeroad-ui

seeroad project ui library

3,733
ui
smart-ui

High Quality Mobile UI Componets by Vue.js 2.

1,883 11
ui

Version History

Version Released Vue License
2.4.4 2.* MIT
2.4.3 2.* MIT
2.4.2 ^2.6.3 MIT
2.4.1 ^2.6.3 MIT
2.4.0 ^2.5.22 MIT