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: (rfn: Reducer<any, B>) => Reducer<any, A> = comp<any, string, string>(flatten(),map((x) => (NO_SPACES.indexOf(x.charAt(0)) >= 0 ? x : " " + x)))

Type declaration

    • (rfn: Reducer<any, B>): Reducer<any, A>
    • Parameters

      • rfn: Reducer<any, B>

      Returns Reducer<any, A>

Functions

Const expand

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

Const formatDecls

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

Const formatRule

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

Const indent

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

Const makeSelector

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

Const withScope

  • withScope(xf: Transducer<any, any>, scope: string): (rfn: Reducer<any, B>) => Reducer<any, A>
  • Parameters

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

    Returns (rfn: Reducer<any, B>) => Reducer<any, A>

      • (rfn: Reducer<any, B>): Reducer<any, A>
      • Parameters

        • rfn: Reducer<any, B>

        Returns Reducer<any, A>

Generated using TypeDoc