Socket
Socket
Sign inDemoInstall

aurelia-global-binding

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aurelia-global-binding

A plugin to provide an easy mean for binding with global objects such as window and document


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Aurelia Global Binding

  • Demo / Playable code sandbox: https://codesandbox.io/s/mmy46056lx
  • Enable simple binding (one way, two way, one time) to global objects, such as window, document via custom element template. Example:
<template>
  <document-binding
    title="Hello worldasdasd"
    click.trigger="hello()"></document-binding>
  <window-binding
    online.trigger="hello(message = 'online or offline')"></window-binding>
</template>

Dev

  • Install dependencies:
npm install
  • Run build task:
npm run build

Test

  • Run test task (Headless Chrome):
npm run test
  • Run test task with debugger Chome
npm run test:debugger

Keywords

FAQs

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