Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

viframe

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

viframe

Vue.js iframe component

  • 1.0.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

VueFrame Component

VueFrame Component is an iframe component that makes it available to Vue developers to render any element from any url.


Install

npm install viframe --save

Example

How to import;

import VFrame from 'viframe'

export default {
    components: {
        VFrame,
    },
}

How to use;

Example 1;

    <v-frame
        url="https://www.npmjs.com/package/viframe"
        tag="div" 
        selector=".container"
    />

Example 2;

    <v-frame
        url="https://www.npmjs.com/package/viframe"
        tag="div" 
        selector="#renderer"
    />

Options

OptionDescription
urlUrl link where the element to be rendered is located
tagThe element to be rendered
selectorSelector of the element to be rendered

Keywords

FAQs

Package last updated on 27 Jun 2021

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