Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/profelis/hml


https://github.com/profelis/hml

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

## hml
===

[![Build Status](https://travis-ci.org/profelis/hml.svg?branch=master)](https://travis-ci.org/profelis/hml)

===
## Magic namespace `xmlns:haxe="http://haxe.org/"`

### Root node children

Tag | Description | Example
------------ | ------------- | -------------
`` | List of interfaces | ``
`` or `` | List of public declarations | `"ab"`
`` | List of private declarations | `'text in private string'`
`` | Haxe script block | `<haxe:Script><![CDATA[import flash.display.Sprite;]]></haxe:Script>`

### All tags

Tag | Description | Example
------------ | ------------- | -------------
`<Meta>` | Metadata | `<haxe:Meta><![CDATA[@FooMeta]]></haxe:Meta>`
`<Generic>` | Type Parameters | `<haxe:Generic><![CDATA[foo.IBar]]></haxe:Generic>`

### Extra attributes

Attribute | Description | Example
------------ | ------------- | -------------
`if` | Conditional Compilation | `<Button text="show debug" haxe:if="debug" />`

### Chaining

`<Text format.size="20" />`

### Binding (use bindx2)

`<Text text="@b model.name" />`