google-analytics-loader is used internally by elements that need to know api state, and user state.
Loads gapi.client.analytics, and watches user signed-in state.
allReady
Boolean notify
True when user is authorized, and api is loaded
apiReady
Booleandefault: false readOnly notify
True when api is loaded
authorized
Booleandefault: false readOnly notify
True when user is authorized
computeAllReady(apiReady, authorized)
default:''
handleApiFailedToLoad(ev, detail)
default:''
handleApiLoad()
default:''
handleAuthSignout()
default:''
handleAuthSuccess()
default
No comments:
Post a Comment