{ "Output HTML Element": { "scope": "html", "prefix": "output", "body": ["
"], "description": "generate a div Element with output alert and alert secondary class" }, "Bootstrap html": { "scope": "html", "prefix": "!bs", "body": [ "", "", "\t", "\t\t", "\t\t", "\t\t$0", "\t\t", "\t", "\t", "\t\t
", "\t\t\t
", "\t\t\t\t

$0

", "\t\t\t
", "\t\t
", "\t\t", "\t", "" ], "description": "Generate HTML with Bootstrap CDN and script-tag" }, "$ und $$ helper function": { "scope": "javascript,typescript", "prefix": "$$$", "body": [ "const $ = (qs) => document.querySelector(qs);", "const $$ = (qs) => Array.from(document.querySelectorAll(qs));" ], "description": "$ and $$ shorthand helper function" }, "JavaScript Dateivorlage": { "scope": "javascript,typescript", "prefix": "vjs", "body": [ "'use strict';", "", "(() => {", "", "\t// === DOM & VARS =======", "\tconst DOM = {};", "", "\t// === INIT =============", "\tconst init = () => {", "", "\t}", "", "\t// === EVENTHANDLER =====", "", "\t// === XHR/FETCH ========", "", "\t// === FUNCTIONS ========", "", "\tinit();", "", "})();" ], "description": "JavaScript Dateivorlage" } }