3.0.0 • Published 7 years ago

svg-playhead v3.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

svg-playhead

Render a playhead element as svg.

screenshot

Usage

const Playhead = require('svg-playhead')
const html = require('bel')

const playhead = Playhead()

const el = html`
  <svg heigth=600 width=100>
    <rect height=100% width=100% fill=gray />
    <g transform="translate(40, 0)">
      ${playhead.render({ height: 600, width: 10 })}
    </g>
  </svg>
`

document.body.appendChild(el)

License

MIT

3.0.0

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago