Skip to content

Instantly share code, notes, and snippets.

@awsp
Last active August 29, 2015 14:02
Show Gist options
  • Save awsp/e81a13174ee64399c997 to your computer and use it in GitHub Desktop.
Save awsp/e81a13174ee64399c997 to your computer and use it in GitHub Desktop.
SC.LabelView
<snippet>
<content><![CDATA[
${1}: SC.LabelView.design({
layout: { width: ${2}, height: ${3}, left: ${4}, top: ${5} },
value: '${6}'
})
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>sclabel</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.js</scope>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment