attribute

Stream that updates attributes on elements

Usage no npm install needed!

<script type="module">
  import attribute from 'https://cdn.skypack.dev/attribute';
</script>

README

attribute

Stream that updates attributes on elements

Example

Creates a delta-stream which when written to updates attributes

var stream = AttributeStream(someElement)

stream.write([{
    "anyAttribute": "anyValue"
}])

Installation

npm install attribute

Contributors

  • Raynos

MIT Licenced