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
commit('loading/TOGGLE_LOADING', null, { root: true }) |
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
x y | |
path: | |
M ----- starting point of path | |
H ----- horizontal line | |
V ----- vertical line | |
Z ----- line from end point to beginning point | |
d: M0 H 80 V 80 H -80 Z | |
curved path: |
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
async fetch({store}){ | |
await store.dispatch('modul/actionName') | |
} |
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
state.error = data.response.data.errors; |
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
border: 4px solid; | |
border-image-source: url(http://i.stack.imgur.com/wLdVc.png); | |
border-image-width: 1; | |
border-image-slice: 2; | |
border-image-repeat: round; | |
short hand: | |
border: 4px solid; | |
border-image: url(http://i.stack.imgur.com/wLdVc.png) 2 round; |
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
Removing Tag : /<\/?( your Tag name here )\b[^<>]*>/g | |
Removing all kind of Tags : replace(/<[^>]*>/g, '') |
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
this.$refs[div][0].getBoundingClientRect() |
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
textArea() { | |
var height = this.$refs.textArea.scrollHeight | |
this.$refs.textArea.style.cssText = Math.floor(height/22) >= 2 ? 'height:' + 42 + 'px' : 'height: 22px' | |
} |
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
@media only screen and (-webkit-min-device-pixel-ratio: 1) { | |
::i-block-chrome, .yourcssrule { | |
your css property | |
} | |
} | |
// &:not(:root:root){ | |
// margin-bottom: 0px !important; | |
// } |
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
const Axios = require('axios') | |
sitemap: { | |
routes: async () => { | |
const { data } = await Axios.get('here comes you API', { headers: { | |
'Accept-Language' : 'ka' | |
}}) | |
return data.data.map(x => ({ | |
changefreq: x.frequency, | |
priority: x.priority, |