Skeleton Component - create Vue component/directive
Problem to solve
Create a skeleton component and/or directive that fits the pajamas design spec.
NOTE: No styling should be implemented in this issue. Only the component/directive.
Further details
The initial idea from UX was "focus towards a general class that applies the animation. I wonder if we can make that work as a component, including that it can know when to be replaced and by what exact content."
Proposal
We have a proof of concept in a codepen here: https://codepen.io/shampton/pen/rNBLOjE
The idea is to create a directive that takes in a boolean to determine whether to apply a skeleton class to the current element.
Edited by Scott Hampton