Options
All
  • Public
  • Public/Protected
  • All
Menu

Module src/browser/setCookie

Index

Functions

Functions

default

  • default(name: string, value: string, days: number): void
  • utilsLibrary.setCookie('a', 'a', 0.0001)
    
    desc

    设置Cookie

    Parameters

    • name: string

      cookie的key

    • value: string

      cookie的value

    • days: number

      cookie的有效期(单位:天)

    Returns void

Generated using TypeDoc