Socket
Book a DemoInstallSign in
Socket

@deleteagency/modal

Package Overview
Dependencies
Maintainers
5
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deleteagency/modal

[Live Demo](https://delete-agency.github.io/modal/)

2.1.0
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
5
Weekly downloads
 
Created
Source

Modal

Live Demo

Motivation

TODO

Installation

Use the package manager npm for installation.

$ npm install @deleteagency/modal

Usage

you can import ready instance

import { modalService } from  '@deleteagency/modal';

const modal = modalService.create('<div>I am a modal!</div>');
modal.open();

or you can import class and modify it for your project, and then use

import { ModalService } from '@deleteagency/modal';

class CustomModalService extend ModalService {
	...
}

const myService = new customModalService();

Options

namespace

Type: String
Default: data-modal

TODO

API

Modal.create(content, options)

Returns new Modal instance

content

Required
Type: HTMLElement|String

options

Optional
Type: Object

License

MIT

FAQs

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.