Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/profelis/hml
https://github.com/profelis/hml
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/profelis/hml
- Owner: profelis
- License: mit
- Created: 2014-10-23T11:46:43.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2019-11-27T08:37:48.000Z (about 5 years ago)
- Last Synced: 2024-04-28T02:19:08.598Z (9 months ago)
- Language: Haxe
- Size: 286 KB
- Stars: 23
- Watchers: 6
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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" />`