* Adds a CSS rule to all slides or containers. * * @param prop - A property name. * @param value - A CSS value to add. * @param useContainer - Optional. Determines whether to apply the rule to the container or not.
( prop: string, value: string | number, useContainer?: boolean )
| 235 | * @param useContainer - Optional. Determines whether to apply the rule to the container or not. |
| 236 | */ |
| 237 | function style( prop: string, value: string | number, useContainer?: boolean ): void { |
| 238 | forEach( Slide => { Slide.style( prop, value, useContainer ) } ); |
| 239 | } |
| 240 | |
| 241 | /** |
| 242 | * Invokes the callback after all images in the element are loaded. |