Socket
Socket
Sign inDemoInstall

@nx-js/bind-middleware

Package Overview
Dependencies
5
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @nx-js/bind-middleware

An NX data-binding middlware.


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
4.16 kB
Created
Weekly downloads
 

Readme

Source

The bind middleware

The bind middleware makes the input, select and textarea elements bindable with the bind custom attribute.

  • name: bind
  • middleware dependencies: bindable
  • all middleware dependencies: observe, attributes, bindable
  • processes: element nodes
  • throws on: nothing
  • use as: component or content middleware
  • docs

Installation

npm install @nx-js/bind-middleware

Usage

const component = require('@nx-js/core')
const observe = require('@nx-js/observe-middleware')
const attributes = require('@nx-js/attributes-middleware')
const bindable = require('@nx-js/bindable-middleware')
const bind = require('@nx-js/bind-middleware')

component()
  .useOnContent(observe)
  .useOnContent(attributes)
  .useOnContent(bindable)
  .useOnContent(bind)
  .register('binding-comp')
<binding-comp>
  <input type="number" name="age" bind />
</binding-comp>

Keywords

FAQs

Last updated on 08 Jan 2017

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc