Options
All
  • Public
  • Public/Protected
  • All
Menu

CSS样式工具类

Hierarchy

  • CssHelper

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Static cmpStyles

cmpStyles: {} = ...

Type declaration

Static isInit

isInit: boolean = false

Methods

Static getCss

  • getCss(styles: any): { classes: any; sheet: StyleSheet<string | number | symbol> }
  • 获取css的

    Parameters

    • styles: any

      css样式

    Returns { classes: any; sheet: StyleSheet<string | number | symbol> }

    样式的jss

    • classes: any
    • sheet: StyleSheet<string | number | symbol>

Static getCssById

  • getCssById(styles: any, cmpId?: string): any
  • 获取css的

    Parameters

    • styles: any

      css样式

    • cmpId: string = null

      组件id

    Returns any

    样式的jss

Static init

  • init(): void
  • Returns void

Generated using TypeDoc