video-bubbles
Version:
<img src="images/bubbles-logo.svg" alt="Bubbles logo" width="50%" />
33 lines (26 loc) • 618 B
JavaScript
/*
Copyright 2019 Colin Clark
Licensed under the MIT license.
https://github.com/colinbdclark/bubbles/raw/master/LICENSE
*/
;
fluid.defaults("bubbles.normalizedOpacitiesModulator", {
gradeNames: "bubbles.opacitiesModulator",
opacities: [
1, 1, 1, 1,
1, 1, 1, 1,
1, 1, 1, 1,
1, 1, 1, 1
],
components: {
relaySource: {
type: "fluid.emptySubcomponent"
}
},
dynamicComponents: {
relayer: {
type: "bubbles.normalizedOpacityRelayer",
sources: "{that}.options.opacities"
}
}
});