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

easy-div

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

easy-div

A handy div element used in web page

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

easy-div

This module provides a very simple div element for your demos and prototypes up and running. Ideal for use with Beefy.

Example

var easyDiv = require('easy-div');
var div = easyDiv({
        onResize: function(width, height) {
            this.innerHTML = 'Window Size: ' + width + 'x' + height;
        },
        onReady: function() {
            console.log('DOM Loaded');
        }
    },
    document.body
);

Please see demo/demo.js for further usage.

play with beefy

Clone to your computer.

git clone https://github.com/jacobbubu/easy-div.git easy-div
cd easy-div
npm install

And then:

npm start

And open up localhost:9966 in your browser.

Keywords

FAQs

Package last updated on 28 Feb 2015

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