MCPcopy
hub / github.com/Splidejs/splide / style

Function style

src/js/components/Slides/Slides.ts:237–239  ·  view source on GitHub ↗

* 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 )

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls 2

forEachFunction · 0.90
styleMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…