New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vue-open

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-open

Open Vue at anywhere.Append Vue to any dom.

  • 0.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

vue-open

Open Vue at anywhere.Append Vue to any dom.

Install

npm install vue-open

Reference

import vueOpen from 'vue-open'

API

vueOpen.open({ appendTo, toOpen })

  • appendTo <Element> An element that Vue append to.It is options,default is document.body.
  • toOpen <Vue|typeof Vue|Object> It could be three possibilities:
    • A Vue instance.
    • A Vue component(function).
    • Vue options(object).
  • return <Object> {el, instance, close}
    • el: The element of the Vue instance.
    • instance: The Vue instance.
    • close: A function call to remove the element from dom. If "toOpen" in params is not a Vue instance, the Vue instance auto created will be destroyed.

Keywords

FAQs

Package last updated on 14 May 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc