how to hidden [input=number] browser default spin style
css input type number remove arrows
const promise = new Promise( | |
(resolve, reject) => { | |
// do a thing, possibly async, then… | |
if (/* everything turned out fine */) { | |
resolve("Stuff worked!"); | |
} | |
else { | |
reject(Error("It broke")); | |
} | |
} |
https://marketplace.visualstudio.com/items?itemName=TimonVS.ReactSnippetsStandard
Snippets
Below is a list of all available snippets and the triggers of each one. The ⇥ means the TAB key.
http://eslint.org/docs/developer-guide/working-with-custom-formatters#the-message-object
{
"parserOptions": {
"ecmaVersion": 6,
const promise = new Promise( | |
(resolve, reject) => { | |
// do a thing, possibly async, then… | |
if (/* everything turned out fine */) { | |
resolve("Stuff worked!"); | |
} | |
else { | |
reject(Error("It broke")); | |
} | |
} |