0.10.2-0 • Published 5 years ago
@bumble/chrome-rxjs v0.10.2-0
RxJS Observables for Chrome API events
Table of Contents
Getting started
You will need to use a bundler like Rollup, Parcel, or Webpack to include this library in the build of Chrome extension.
See rollup-plugin-chrome-extension
for an easy way use Rollup to build your Chrome extension!
Installation
npm i @bumble/chrome-rxjs
Usage
import { contextMenus } from 'chrome-rxjs'
contextMenus.clicks.subscribe(clickEvent => {
console.log('click', clickEvent)
})