Placeholders
v3 and above
With v3 comes a new feature: Placeholders. It was possible to do this before by making a separate placeholder sample, but now its a feature out of the box!
If you set a placeholder, CitronJS will display this placeholder before it displays your sample. You can also pass a time in milliseconds to define how long the placeholder should last:
<citron>
<export sample="Hello World"></export>
<placeholder sample="Hello World" duration="1500">
Hello, I'm the placeholder
</placeholder>
<sample name="Hello World">... (sample goes here)</sample>
</citron>Last updated