UNPKG

@splidejs/splide

Version:

Splide is a lightweight, flexible and accessible slider/carousel. No dependencies, no Lighthouse errors.

13 lines (10 loc) 317 B
import { style } from '../style/style'; /** * Sets the `display` CSS value to the element. * * @param elm - An element to set a new value to. * @param display - A new `display` value. */ export function display( elm: HTMLElement, display: string ): void { style( elm, 'display', display ); }