[]
• new Events()
定义UserManager支持的事件。
• Static CurrentUserChanged: string
指示当前用户发生更改时的事件。
param {@link GC.Spread.Common.IUser} oldCurrentUser 旧的当前用户。
param {@link GC.Spread.Common.IUser} newCurrentUser 新的当前用户。
example
GC.Spread.Common.UserManager.bind(GC.Spread.Common.Events.CurrentUserChanged, (event, args) => {
console.log(event);
console.log(args.oldCurrentUser);
console.log(args.newCurrentUser);
});