🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

vue-bottom-dialog

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-bottom-dialog

Vue Bottom Dialog

latest
Source
npmnpm
Version
1.0.5
Version published
Maintainers
1
Created
Source

VueBottomDialog

Simple mobile customizable dialog.

DEMO

Sandbox: https://codesandbox.io/s/2h39y

Installation

1. Install

yarn add vue-bottom-dialog
# or
npm i vue-bottom-dialog --save

2. Plug-in

import VueBottomDialog from 'vue-bottom-dialog'

Vue.use(VueBottomDialog)

3. Use in your components

Component can be controlled with a v-model.

<template>
  <vue-bottom-dialog v-model="dialog" />
</template>

<script>
  export default {
    data: () => {
        return {
          dialog: true,
        };
      },
  };
</script>

Properties

NameRequiredTypeDefaultDescription
heightfalseNumber100Dialog have fixed height
backgroundColorfalseString#757575Background color
overlayColorfalseStringrgba(255, 255, 255, 0.5)Outside dialog background color
hideIndentfalseBooleanfalseIf true, indent will be hidden
indentColorfalseString#FFFColor of indent
topRadiusfalseString20pxRadius of top corners

License

MIT

Keywords

vue

FAQs

Package last updated on 26 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts