Socket
Book a DemoInstallSign in
Socket

ext-chatwork-events

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

ext-chatwork-events

Chatwork DOM Events wrapper for Chrome extension

0.0.2
latest
Source
npmnpm
Version published
Weekly downloads
2
-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

ext-chatwork-events

Chatwork DOM Events wrapper for Chrome extension

Getting started

npm i ext-chatwork-events

Add script tag to your extension.

<script src="/path/to/ext-chatwork-events/bundle.js"></script>

If using Browserify, see below

const ChatworkEvents = require('ext-chatwork-events')

Events

ready

Emit when loading area hidden.

// No arguments
ChatworkEvents.on('ready', () => console.log('ready'))

messages:add

Emit when new message appended.

/**
 * @param addedEl Element added element
 */
ChatworkEvents.on('messages:add', (addedEl) => console.log('messages:add', addedEl))

messages:remove

Emit when message element removed.

/**
 * @param removedEl Element removed element
 */
ChatworkEvents.on('messages:remove', (removedEl) => console.log('messages:remove', removedEl))

Keywords

Chatwork

FAQs

Package last updated on 28 May 2016

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.