Hi, in this tutorial we are going to create the colors swatches in an efficient way we just have to pass the color code and it will create a new color swatch for us 😄Â
I created a function for it so you can use it in the future easily so i am looping the puzzles based on the number of color codes you pased and then i am creating a html element and assigning with a CSS class and background and then i am pushing the created elements to an empty array so we can access it later and once they are created now we need to apply event listener to all created element and assigning the clicked element background to your materialÂ
It’s done now just pass the values and it will start working
It is the best time to make some plans for the future and it is time to be happy.
I have read this post and if I could I wish to suggest you few interesting things or advice.
Perhaps you can write next articles referring to this
article. I wish to read more things about it!
2 replies on “Create unlimited color swatches in Verge 3d – Source file included”
It is the best time to make some plans for the future and it is time to be happy.
I have read this post and if I could I wish to suggest you few interesting things or advice.
Perhaps you can write next articles referring to this
article. I wish to read more things about it!
Yes sure i would like to hear that suggestion