Skip to content

Instantly share code, notes, and snippets.

@zz85
Last active August 29, 2015 14:20
Show Gist options
  • Save zz85/c093745ea63d50d24307 to your computer and use it in GitHub Desktop.
Save zz85/c093745ea63d50d24307 to your computer and use it in GitHub Desktop.
Canvas Markup Langague
v: [
'#time-slider',
'#time-grid'
];
<vpanel>
<timeslider />
<timegrid />
</vpanel>
add(
VPanel(
TimeSlider(),
TimeGrid()
)
);
[
'VPanel': [
{
width: x,
height: y
},
'TimeSlider': {
},
'TimeGrid': {
}
]
]
// JS
// JSON
// QML
// XHP / React
// JXML
// VFL
Component {
init
resize
redraw
signals
}
.add()
.create()
.destory()
Props
- specified
- derived
- computed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment