PageRenderTime 24ms CodeModel.GetById 16ms app.highlight 3ms RepoModel.GetById 2ms app.codeStats 0ms

/lib/titanium/mobile/facebook/FacebookLoginButton.hx

http://github.com/visup/haxe-titanium-api
Haxe | 55 lines | 10 code | 4 blank | 41 comment | 0 complexity | d4c37bbbdac0827e4f8b03d253e87bdb MD5 | raw file
 1package titanium.mobile.facebook;
 2import titanium.mobile.core.BaseView;
 3import titanium.mobile.core.Dispatcher;
 4
 5/**
 6Facebook.LoginButton class
 7
 8Documentation available at:
 9http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.Facebook.LoginButton-object.html
10
11- namespace
12
13Titanium.Facebook.LoginButton
14
15- type
16
17object
18
19- subtype
20
21view
22
23- description
24
25The Login Button created by `Titanium.Facebook.createLoginButton`.  This is a Facebook-themed button that does not require a click event handler or any listeners.  It "just works" and changes its label to reflect the current state of the Facebook session.  For example, if the user is already logged in, this button will show "Logout".
26
27- since
28
290.8
30
31- platforms
32
33android, iphone, ipad
34
35- properties
36style[string]: set to "wide" to show a wider version of the button that displays "Connect with Facebook" instead of just "Connect".
37
38- notes
39
40See the examples in the `Titanium.Facebook` documentation.
41
42
43**/
44
45
46@:native("Titanium.Facebook.LoginButton")
47extern class FacebookLoginButton extends BaseView
48{
49	// static constructor
50	public inline static function create(?parameters:Dynamic):FacebookLoginButton
51		return titanium.mobile.Facebook.createLoginButton(parameters)
52		
53	// static properties
54	public static var Style:String;
55}