Update index
This commit is contained in:
parent
cc9970c10f
commit
b168c6945b
16
index.html
16
index.html
@ -11,21 +11,7 @@
|
||||
<p>A bunch of web components for my own convenience.</p>
|
||||
</header>
|
||||
<h2>Audio Player</h2>
|
||||
<p>A handy audio player widget.<br><br>Attributes:</p>
|
||||
<ul>
|
||||
<li>audio: a URI pointing to an audio file</li>
|
||||
<li>cover: a URI pointing to a cover image</li>
|
||||
<li>cover_alt: alt text for the cover image</li>
|
||||
</ul>
|
||||
<p>Slots:</p>
|
||||
<ul>
|
||||
<li>title: title for the audio file</li>
|
||||
<li>description: a description of the audio file</li>
|
||||
</ul>
|
||||
<p>CSS Custom Properties:</p>
|
||||
<ul>
|
||||
<li>--background</li>
|
||||
</ul>
|
||||
<p>A neat little audio component that nicely displays a cover image, native audio controls, a title, and a description.<br><br></p>
|
||||
<p>Example usage:</p>
|
||||
<pre>
|
||||
<code>
|
||||
|
Loading…
x
Reference in New Issue
Block a user