Skip to content

Instantly share code, notes, and snippets.

@auniverseaway
Created February 5, 2018 17:50
Show Gist options
  • Save auniverseaway/b196c3bf0e46dce49efefbe15403f801 to your computer and use it in GitHub Desktop.
Save auniverseaway/b196c3bf0e46dce49efefbe15403f801 to your computer and use it in GitHub Desktop.
<tab-control data-sly-use.model="org.millr.core.models.TabControl"
data-sort-by="${model.sortBy}"
data-model="${'{0}.model.json' @ format = resource.path}"
data-title="${model.title || 'testing 123'}">
<h2>${properties.subTitle || 'Sub Title'}</h2>
<sly data-sly-repeat.child="${model.children}">
<tab-item>${child.title}</tab-item>
</sly>
</tab-control>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment