@jswf/vue

Virtual window component for Vue.js

Version: 1.0.1 Updated: 12/03/2019

By: JavaScript-WindowFramework License: MIT

Downloads Last 30 Days: 44

@jswf/vue

npm version Virtual window component for Vue.js

1.Contents

1.1 Basic explanation

Components for realizing virtual windows with Vue.js Just enclose with JSWindow and it will become a virtual window

1.2 Currently available features

  • MoveWindow
  • Resize
  • Maximize
  • Minimize
  • Parent-child window
  • SplitScreen

2.Screen shot

Screen Shot

4.Sample source

<template>
  <div id="app">
    <img alt="Vue logo" src="./assets/logo.png" />
    <!-- Add JSWindow-->
    <JSWindow title="Virtual Window">
      <HelloWorld msg="Welcome to Your Vue.js App" />
    </JSWindow>
    <!---------------->
  </div>
</template>

<script>
import HelloWorld from "./components/HelloWorld.vue";
import { JSWindow } from "@jswf/vue"; //Add
export default {
  name: "app",
  components: {
    HelloWorld,
    JSWindow //Add
  }
};
</script>

<style>
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>

5.Component list

JSWindow SplitView

6.license

MIT

Categories: Vue js