DEV Community

Play Button Pause Button
neoan
neoan

Posted on

5min JS - dynamic placeholder text

Placeholder text how you want it to be

This is an older project of mine I just updated and wanted to take the opportunity to finally try out dev.to's video function.

What it is addressing

Rather than generating static placeholder text, this little helper generates the placeholder text dynamically, allowing you to:

  • account for differences in dynamic content
  • easily switch between development & "real" content
  • check loading behaviour

YouTube mirror

npm

Top comments (0)