Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "impl"

Index

Variables

Const EMPTY

EMPTY: Set<string> = new Set<string>()

Const NO_SPACES

NO_SPACES: ":[" = ":["

Const xfSel

xfSel: Transducer<any, string> = comp<any, string, string>(flatten(),map((x) => (NO_SPACES.indexOf(x.charAt(0)) >= 0 ? x : " " + x)))

Functions

Const expand

  • expand(acc: string[], parent: any[], rules: any[], opts: CSSOpts): string[]
  • internal

    Parameters

    • acc: string[]
    • parent: any[]
    • rules: any[]
    • opts: CSSOpts

    Returns string[]

Const formatDecls

  • formatDecls(rules: any, opts: CSSOpts): string

Const formatRule

  • formatRule(parent: any[], sel: any[], curr: any, opts: CSSOpts): string
  • Parameters

    • parent: any[]
    • sel: any[]
    • curr: any
    • opts: CSSOpts

    Returns string

Const indent

  • indent(opts: CSSOpts, d?: number): string
  • internal

    Parameters

    • opts: CSSOpts
    • Default value d: number = opts.depth

    Returns string

Const makeSelector

  • makeSelector(parent: any[], curr: any[]): any[]
  • Parameters

    • parent: any[]
    • curr: any[]

    Returns any[]

Const withScope

  • withScope(xf: Transducer<any, any>, scope: string): Transducer<any, any>
  • Parameters

    • xf: Transducer<any, any>
    • scope: string

    Returns Transducer<any, any>

Generated using TypeDoc