Sha256: 18494c4e479e44d1852acf692f5b172b06da2c9dce6b74de0cf8c914f8afd00c

Contents?: true

Size: 497 Bytes

Versions: 4

Compression:

Stored size: 497 Bytes

Contents

export interface Sticky {
    refresh(): void
    remove(): void
}

type SingleOrMany<T> = T | Iterable<T>

export function addOne(element: SingleOrMany<HTMLElement>): Sticky
export function add(elements: SingleOrMany<HTMLElement>): Sticky[]

export function refreshAll(): void

export function removeOne(element: SingleOrMany<HTMLElement>): void
export function remove(elements: SingleOrMany<HTMLElement>): void
export function removeAll(): void

export const stickies: Sticky[]

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jekyll-theme-prettydocs-1.0.3 assets/plugins/stickyfill/types/index.d.ts
jekyll-theme-prettydocs-1.0.2 assets/plugins/stickyfill/types/index.d.ts
jekyll-theme-prettydocs-1.0.1 assets/plugins/stickyfill/types/index.d.ts
jekyll-theme-prettydocs-1.0.0 assets/plugins/stickyfill/types/index.d.ts