zdodson21 / ajc-portfolio

A portfolio project utilizing LitElement web components.
https://ajc-portfolio.vercel.app
1 stars 0 forks source link

<picture-frame> #11

Open zdodson21 opened 2 months ago

zdodson21 commented 2 months ago

Want to make open source, so need to learn how to make into an NPM package. Other than that, this component at this point is pretty feature complete, so it's mostly just styling left to do.

zdodson21 commented 2 months ago

Right now, I need to check the loading of the page in the network tab, however I think that all tags are loading even when display=none, so I need to fix that.

zdodson21 commented 2 months ago

Right now, I need to check the loading of the page in the network tab, however I think that all tags are loading even when display=none, so I need to fix that.

Look into this

zdodson21 commented 2 months ago

Call a load method that will then render the HTML appropriately by creating it, rather than rendering numerous hard coded methods. could use helper methods to load each piece using numerous calls as well

zdodson21 commented 2 months ago

Look into implementing an MVC type of arrangement here to load each component contents

zdodson21 commented 2 months ago

Do all of this in a separate branch, merge when everything works. don't want to lose the original stuff in case I can't get this to work

zdodson21 commented 2 months ago

Attempt to utilize switch case

zdodson21 commented 2 months ago

Image of Switch Case. Look up documentation and tutorial for making it work in JS

Link Here