Skip to content

Instantly share code, notes, and snippets.

@jturcotte
Created August 7, 2014 19:40
Show Gist options
  • Save jturcotte/2513ec864545ea645057 to your computer and use it in GitHub Desktop.
Save jturcotte/2513ec864545ea645057 to your computer and use it in GitHub Desktop.
Death to Loader { }!
Component {
id: reusableComponent
Item {
property string value: "Hello"
}
}
property Item itemA: reusableComponent.createObject(this)
property Item itemB: reusableComponent.createObject(this)
Text {
text: itemA.value + itemB.value
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment