Options
All
  • Public
  • Public/Protected
  • All
Menu

Module obj/window

Index

Functions

getGlobal

  • getGlobal(key: string): any
  • get 全局对象

    Parameters

    • key: string

    Returns any

globalLib

  • globalLib(): any
  • 获取全局对象

    Returns any

removeGlobalItem

  • removeGlobalItem(key: string): boolean
  • 删除 对象数据

    Parameters

    • key: string

    Returns boolean

setGlobal

  • setGlobal(key: string, value: any, cover?: boolean): boolean
  • set 全局对象

    Parameters

    • key: string
    • value: any
    • cover: boolean = true

    Returns boolean