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

codebit-modal

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

codebit-modal

Simple modal with background blur effect

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Codebit Modal (codebit-modal)

HTML Struct

<div class="cb-modal-backdrop" style='display: none'>
    <div>
        <div>
            <div class="cb-modal"> 
                <div class="cb-modal-head">
                </div>    
                <div class="cb-modal-body">
                </div>    
                <div class="cb-modal-foot">
                </div>    
            </div>    
        </div>
    </div>
</div>

Javascript

Examples

Show modal:

    var modalElement = document.getElementsByClassName("cb-modal-backdrop")[0];
    var myModal = new CbModal(modalElement);
    myModal.show();

Hide modal:

    myModal.hide();

Documentation

Keywords

FAQs

Package last updated on 01 Apr 2019

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