Amaze UI

Cookie


Cookie 操作方法封装,via Nicholas C. Zakas

调用接口:$.AMUI.utils.cookie

  • cookie.set(name, value, expires, path, domain, secure) - 设置 cookie;
  • cookie.get(name) - 获取 cookie;
  • cookie.unset(name, path, domain, secure) - 删除 cookie

参考链接