Created
June 2, 2020 18:02
-
-
Save ferpetrelli/58e9e95173111c126d6da3062461b930 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Twill input regular": { | |
"scope": "php,blade", | |
"prefix": "tinput", | |
"body": [ | |
"@formField('input', [", | |
" 'name' => '${1:name}',", | |
" 'label' => '${1:label}',", | |
"])" | |
], | |
"description": "Twill input regular" | |
}, | |
"Twill input checkbox": { | |
"scope": "php,blade", | |
"prefix": "tcheckbox", | |
"body": [ | |
"@formField('checkbox', [", | |
" 'name' => '${1:name}',", | |
" 'label' => '${2:label}',", | |
"])" | |
], | |
"description": "Twill input checkbox" | |
}, | |
"Twill input media": { | |
"scope": "php,blade", | |
"prefix": "tmedia", | |
"body": [ | |
"@formField('medias', [", | |
" 'name' => '${1:name}',", | |
" 'label' => '${2:label}',", | |
" 'with_multiple' => false,", | |
" 'no_crop' => false,", | |
" \"withAddInfo\" => false,", | |
"])" | |
], | |
"description": "Twill input media" | |
}, | |
"Twill input file": { | |
"scope": "php,blade", | |
"prefix": "tfile", | |
"body": [ | |
"@formField('files', [", | |
" 'name' => '${1:name}',", | |
" 'label' => '${2:label}',", | |
"])" | |
], | |
"description": "Twill input file" | |
}, | |
"Twill input browser": { | |
"scope": "php,blade", | |
"prefix": "tbrowser", | |
"body": [ | |
"@formField('browser', [", | |
" 'name' => '${1:name}',", | |
" 'moduleName' => '${2:moduleName}',", | |
" 'label' => '${3:label}',", | |
" 'routePrefix' => '${4:routePrefix}',", | |
" 'max' => ${5:max}", | |
"])" | |
], | |
"description": "Twill input browser" | |
}, | |
"Twill input wysiwyg": { | |
"scope": "php,blade", | |
"prefix": "twysiwyg", | |
"body": [ | |
"@formField('wysiwyg', [", | |
" 'name' => '${1:name}',", | |
" 'label' => '${2:label}',", | |
"])" | |
], | |
"description": "Twill input wysiwyg" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment