Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
01-HelloWorld
02-load_picture
03-style_text
04-inner_html
05-HaxeJS-vs-HTML
GettingStarted
README.txt

README.txt

/*
 * Cocktail, HTML rendering engine
 * http://haxe.org/com/libs/cocktail
 *
 * Copyright (c) Silex Labs
 * Cocktail is available under the MIT license
 * http://www.silexlabs.org/labs/cocktail-licensing/
*/

======================
== Cocktail Samples ==
======================

Updated on 2012-08-31

This file gathers the description and the status of each sample.

Possible targets for all samples are:
 -Haxe targets: JavaScript, Flash
 -NME targets: iOS, Android, Blackberry, Windows, Mac, Linux
 -Air targets: iOS, Android, Blackberry, Windows, Mac, Linux, Smart TVs
 -PhoneGap targets: iOS, Android, Windows Phone, Blackberry, webOS, Symbian


01-HelloWorld
-------------

Description: a simple text display example
Tested targets: JavaScript, Flash & Windows (via NME)
Online demo: http://demos.silexlabs.org/cocktail/samples/01-HelloWorld/
Status: source code up to date.


02-load_picture
---------------

Description: a simple image display example
Tested targets: JavaScript, Flash & Windows (via NME)
Online demo: http://demos.silexlabs.org/cocktail/samples/02-load_picture/
Status: source code up to date.


03-style_text
-------------

Description: a simple text styling example
Tested targets: JavaScript, Flash & Windows (via NME)
Online demo: http://demos.silexlabs.org/cocktail/samples/03-style_text/
Status: source code up to date.


04-inner_html
-------------

Description: an innerHtml usage example
Tested targets: JavaScript, Flash & Windows (via NME)
Online demo: http://demos.silexlabs.org/cocktail/samples/04-inner_html/
Status: source code up to date


GettingStarted
--------------

Description: Cocktail getting started. Article is available here: http://haxe.org/com/libs/cocktail/getting_started_with_cocktail
Tested targets: JavaScript, Flash, Windows
Online demo: http://demos.silexlabs.org/cocktail/samples/GettingStarted/
Status: source code up to date.


HaxeJS-vs-HTML
--------------

Description:
	A simple Cocktail example of an Html page with styles and interactivity.
	It is possible to switch between the HaxeJS version and the innerHtml version.
	This sample illustrates the alternative way of using cocktail.
	i.e. it does not use an index.html file as entry point, but directly a HaxeJS class.
Tested targets: JavaScript, Flash & Windows (via NME)
Online demo: http://demos.silexlabs.org/cocktail/samples/05-HaxeJS-vs-HTML/
Status: source code up to date

Something went wrong with that request. Please try again.