JS API T FB.XFBML.Host

From Facebook Developer Wiki

Jump to: navigation, search

Contents

class public FB.XFBML.Host

Host of XFBML

Base Class

System.Object

Follow the base class link to learn inherited methods and properties

Constructor

public FB.XFBML.Host ()

Description

Public Static Methods

public static void addElement (Element element)
Add a XFBML element to be processed
public static void addElements (array elements)
Add an array of XFBML elements to be processed
public static void parseDomElement (DOMElement domElement)
Parse the children under the specified DOM Element to search for XFBML tags and render them.
public static void parseDomTree ()
Start parse the DOM tree to search for XFBML tags and render them. This will be invoked automatically unless FB.XFBML.Host.autoParseDomTree is set to false.
public static void refresh ()
Re-render all existing XFBML elements
public static void registerCustomTag (string nameSpace, string name, Type implementationType)
Register a custom element tag.

Properties

public static areElementsReady

A Waitable object to indicate whether all XFBML elements are ready.

Getter

public static Waitable get_areElementsReady()

Fields

public static bool autoParseDomTree
Prevents JS_API_M_FB.XFBML.Host.ParseDomTree from parsing the DOM tree automatically after you call FB.init or FB.Facebook.init.

Back to namespace FB.XFBML

reference