Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- /*
- // Place your snippets for HTML here. Each snippet is defined under a snippet name and has a prefix, body and
- // description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
- // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
- // same ids are connected.
- // Example:
- */
- "loading": {
- "prefix": "loading",
- "body": [
- "<div ng-include=\"'/views/common/loading.html'\" ng-show=\"$1\"></div>$0"
- ],
- "description": "Loading spinner for lists"
- },"listDir": {
- "prefix": "listDir",
- "body": [
- "<jtx-list-dir \n\tplaceholder=\"'Selecciona un $1'\" \n\tng-model=\"$2\" \n\tdisplay-col=\"'$3'\" \n\ttrack-by=\"'$4'\" \n\tcollection=\"$5\"> \n</jtx-list-dir> <br>"
- ],
- "description": "Loading spinner for lists"
- },"exclamation": {
- "prefix": "exclamation",
- "body": [
- "<i class=\"fa fa-exclamation-circle\"></i>$0"
- ],
- "description": "required icon"
- },"datepicker": {
- "prefix": "datepicker",
- "body": [
- "<jtx-datepicker ng-model=\"$1\"></jtx-datepicker> $0"
- ],
- "description": "Jitrix Datepicker Directive"
- },"searchButton": {
- "prefix": "searchButton",
- "body": [
- "<button class=\"btn btn-success\" ng-click=\"$1\"><i class=\"fa fa-search\"></i> {{text('searchButton.text')}}</button>$0"
- ],
- "description": "Search button + icon"
- },"newButton": {
- "prefix": "newButton",
- "body": [
- "<button class=\"btn btn-w-m btn-success\" ng-click=\"$1\"><i class=\"fa fa-plus-square jtx-img-btn\"></i> {{text('newButton.text')}}</button>$0"
- ],
- "description": "New button + icon"
- },"doubleSmallButtons": {
- "prefix": "doubleSmallButtons",
- "body": [
- "<button class=\"btn btn-outline btn-success btn-xs\" ng-click=\"\"><i class=\"fa fa-pencil\"></i></button>\n<button class=\"btn btn-outline btn-danger btn-xs\" ng-click=\"\"><i class=\"fa fa-trash-o\"></i></button>$0"
- ],
- "description": "New button + icon"
- },"requiredTag": {
- "prefix": "requiredTag",
- "body": [
- "<div class=\"row\">\n\t<div class=\"col-sm-12\">\n\t\t<label class=\"control-label\"><i class=\"fa fa-exclamation-circle\"></i>{{text(\"form.required\")}}</label>\n\t</div>\n</div>"
- ],
- "description": "New button + icon"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement