Skip to content

Instantly share code, notes, and snippets.

View danhollick's full-sized avatar

Daniel Hollick danhollick

View GitHub Profile
<Grid Alignment="Center" CellSpacing="10" >
<Each Items="{Fruits}">
<Text Value="{type}"/>
<Each Items="{subtypes}">
<Text Value="{}" Margin="20,0,0,0" />
</Each>
</Each>
</Grid>
<Text Value="{Fruits}" />
var Observable = require("FuseJS/Observable");
var Fruits = Observable([
{ "type": "Apple" },
{ "type": "Orange" },
{ "type": "Pear" },
{ "type": "Banana" },
{ "type": "Plum"}
]);
module.exports = {
Fruits : Fruits
};
<Text Value="{Fruits}" />
<Grid>
<Image StretchMode="UniformToFill" File="Assets/icon.png"/>
<Image StretchMode="UniformToFill" File="Assets/icon.png"/>
<Image StretchMode="UniformToFill" File="Assets/icon.png"/>
</Grid>
<Image ux:Class="Icon" StretchMode="UniformToFill" File="Assets/icon.png"/>
<Grid>
<Icon/>
<Icon/>
<Icon/>
</Grid>
<!-- ColorPalette -->
<Panel>
<float4 ux:Global=”SecondarySolid” ux:Value=”#8A5182" />
<float4 ux:Global=”DarkGrey” ux:Value=”#636363" />
<float4 ux:Global=”MidGrey” ux:Value=”#979797" />
<float4 ux:Global=”LightGrey” ux:Value=”#D8D8D8"/>
<float4 ux:Global=”PrimaryText” ux:Value=”#282D67" />
<float4 ux:Global=”PrimarySolid” ux:Value=”#426E89" />
<float4 ux:Global=”TextGrey” ux:Value=”#3A4454" />
</Panel>