Skip to content

Commit

Permalink
Add panel snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
th3coop committed May 27, 2016
1 parent 0f81404 commit e8d384e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .komodotools/Abbreviations/SDK/ko_ui_panel_create.komodotool
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"keyboard_shortcut": "",
"name": "ko/ui/panel.create",
"value": [
"var [[%tabstop:panelName]] = require(\"ko/ui/panel\").create(null,",
" {",
" attributes:",
" {",
" width: [[%tabstop:/*100, \"100px\"*/]],",
" height: [[%tabstop:/*100, \"100px\"*/]]",
" }",
" }",
");!@#_currentPos!@#_anchor"
],
"set_selection": "false",
"version": "1.0.12",
"indent_relative": "false",
"type": "snippet",
"treat_as_ejs": "true",
"auto_abbreviation": "false"
}

0 comments on commit e8d384e

Please sign in to comment.