capsidjs / capsid

:pill: Declarative DOM programming library. Lightweight (1.79 kb). See also https://github.com/kt3k/cell, which is the successor project

Home Page:http://capsid.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`@wired` decorator

kt3k opened this issue · comments

Replace @wire decorator by @wired.

The current plan of variations of @wired

  • @wired(selector) = @wire.el(selector)
  • @wired.all(selector) = @wire.elAll()
  • @wired.component = @wire
  • @wired.component.all = wires the all components.
  • @wired.$el(selector) = @wire.$el(selector)