roku-imgix

1.0.8 • Public • Published

Roku Imgix (BETA)

Roku-Imgix component is to enable quick access to modify Imigx images via component properties

Example

<rokuimgix_Imgix uri="" width="100" height="50" />

You can also:

  • Get color palette information by observing the "colorPalette" field and setting the "fetchColorPalette" attribute to true.
m.top.findNode("poster").observeField("colorPalette", "onColorPaletteFetched")

sub onColorPaletteFetched(event as Object)
  palette = event.getData()
  muted = palette.dominant_colors["muted"]
  vibrant = palette.dominant_colors["vibrant"]
  ? muted, vibrant
 end sub
<rokuimgix_Imgix id="poster" uri="" width="100" height="50" fetchColorPalette="true" />

Readme

Keywords

Package Sidebar

Install

npm i roku-imgix

Weekly Downloads

1

Version

1.0.8

License

ISC

Unpacked Size

11.8 kB

Total Files

7

Last publish

Collaborators

  • tylerattkss