@quasar/quasar-ui-qoverlay
QOverlay is an app extension for Quasar for making overlays
Last updated 3 months ago by hawkeye64 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @quasar/quasar-ui-qoverlay 
SYNC missed versions from official npm registry.

QOverlay

npm npm

QOverlay is a Quasar component. It allows you to have fullscreen or component overlays and put a component on top of the overlay.

Examples and Documentation

Can be found here

Usage

Quasar CLI project

Install the App Extension.

OR:

Create and register a boot file:

import Vue from 'vue'
import Plugin from '@quasar/quasar-ui-qoverlay'
import '@quasar/quasar-ui-qoverlay/dist/index.css'

Vue.use(Plugin)

OR:

<style src="@quasar/quasar-ui-qoverlay/dist/index.css"></style>

<script>
import { QOverlay } from '@quasar/quasar-ui-qoverlay'

export default {
  components: {
    QOverlay
  }
}
</script>

Vue CLI project

import Vue from 'vue'
import Plugin from '@quasar/quasar-ui-qoverlay'
import '@quasar/quasar-ui-qoverlay/dist/index.css'

Vue.use(Plugin)

OR:

<style src="@quasar/quasar-ui-qoverlay/dist/index.css"></style>

<script>
import { QOverlay } from '@quasar/quasar-ui-qoverlay'

export default {
  components: {
    QOverlay
  }
}
</script>

UMD variant

Exports window.QOverlay.

Add the following tag(s) after the Quasar ones:

<head>
  <!-- AFTER the Quasar stylesheet tags: -->
  <link href="https://cdn.jsdelivr.net/npm/@quasar/quasar-ui-qoverlay/dist/index.min.css" rel="stylesheet" type="text/css">
</head>
<body>
  <!-- at end of body, AFTER Quasar script(s): -->
  <script src="https://cdn.jsdelivr.net/npm/@quasar/quasar-ui-qoverlay/dist/index.umd.min.js"></script>
</body>

If you need the RTL variant of the CSS, then go for the following (instead of the above stylesheet link):

<link href="https://cdn.jsdelivr.net/npm/@quasar/quasar-ui-qoverlay/dist/index.rtl.min.css" rel="stylesheet" type="text/css">

UMD example on Codepen

Building the Projects

Setup

In both the ui and ui/dev folders:

$ yarn

Developing

In the ui folder

# start dev in SPA mode
$ yarn dev

# start dev in UMD mode
$ yarn dev:umd

# start dev in SSR mode
$ yarn dev:ssr

# start dev in Cordova iOS mode
$ yarn dev:ios

# start dev in Cordova Android mode
$ yarn dev:android

# start dev in Electron mode
$ yarn dev:electron

Building package

$ yarn build

build just the JSON API

$ yarn build:api

Donate

If you appreciate the work that went into this, please consider donating to Quasar or Jeff.

License

MIT (c) Jeff Galbraith jeff@quasar.dev

Current Tags

  • 1.0.4                                ...           latest (3 months ago)

5 Versions

  • 1.0.4                                ...           3 months ago
  • 1.0.3                                ...           5 months ago
  • 1.0.2                                ...           8 months ago
  • 1.0.1                                ...           9 months ago
  • 1.0.0                                ...           10 months ago
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 0
Last Month 1
Dependencies (0)
None
Dev Dependencies (28)

Copyright 2014 - 2016 © taobao.org |