colorComponents: {
r: 0,
g: 0,
b: 0,
},
<div v-for="(v, k) in colorComponents">
{{ k }}
<input v-model="colorComponents[k]" type="range" min="0" max="255">
{{ v }}
</div>
<div :style="style">
computed: {
style() {
return {
'background-color': `rgb(${Object.values(this.colorComponents).join(',')})`,
};
},
},
const container = document.querySelector(".container");
container.onclick = function(){
container.classList.toggle("container_color_red");
}
<img src="images/1) header/shopping-cart-menu.png" id=cart_icon height="15" width="18"/>
<img src="images/1) header/magnifying-glass-menu.png" id=glass_icon" height="18" width="18"/>
id=cart_icon height="15"
git submodule add git@github.com:ninazu/framework.git ./vendor/ninazu/framework
git commit -m "#addSubModule"
git push
cd ./vendor/ninazu/framework
git submodule update --init --recursive
git submodule update --recursive --remote
File -> Settings -> Version Control -> Add -> Directory
VCS -> Git -> Branches -> Repositories -> framework -> LocalBranches -> Checkout
VCS -> UpdateProject