Socialid.onLoad

From Social ID Developers
Revision as of 08:15, 4 August 2014 by Dirceu.tiegs (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

Método chamado quando a API do Social-ID finaliza seu carregamento.

Usage

 socialid.onLoad = handler

Example

Logo que o Javascript da API do Social-ID for carregado, o widget do Social Login será renderizado no elemento "socialid_login_container":

 socialid.onLoad = function() {
   socialid.login.init(1, {loginType: "event"});
   socialid.login.renderLoginWidget("socialid_login_container", {
     theme: "bricks", 
     providers: ["facebook", "twitter", "linkedin", "gplus"]
   });
 };
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox