Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "node_modules/snabbdom/src/modules/style"

Index

Type aliases

VNodeStyle

VNodeStyle: Record<string, string> & { delayed?: Record<string, string>; remove?: Record<string, string> }

Variables

raf

raf: any = (typeof window !== 'undefined' && (window.requestAnimationFrame).bind(window)) || setTimeout

reflowForced

reflowForced: boolean = false

Const styleModule

styleModule: Module = {pre: forceReflow,create: updateStyle,update: updateStyle,destroy: applyDestroyStyle,remove: applyRemoveStyle} as Module

Functions

applyDestroyStyle

  • applyDestroyStyle(vnode: VNode): void
  • Parameters

    Returns void

applyRemoveStyle

  • applyRemoveStyle(vnode: VNode, rm: () => void): void
  • Parameters

    • vnode: VNode
    • rm: () => void
        • (): void
        • Returns void

    Returns void

forceReflow

  • forceReflow(): void
  • Returns void

nextFrame

  • nextFrame(fn: any): void
  • Parameters

    • fn: any

    Returns void

setNextFrame

  • setNextFrame(obj: any, prop: string, val: any): void
  • Parameters

    • obj: any
    • prop: string
    • val: any

    Returns void

updateStyle

  • updateStyle(oldVnode: VNode, vnode: VNode): void
  • Parameters

    Returns void

Generated using TypeDoc