1.0.8 • Published 3 years ago
roku-imgix v1.0.8
Roku Imgix (BETA)
Roku-Imgix component is to enable quick access to modify Imigx images via component properties
Attributes match properties defined at https://docs.imgix.com/apis/rendering
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" />