lovely. got a couple of partial implementations....
update git ignore kaas remove large file syncy sync
This commit is contained in:
parent
89f526e9d9
commit
98cd4d630c
24 changed files with 586 additions and 76 deletions
3
src/features/player/controls/volume.module.css
Normal file
3
src/features/player/controls/volume.module.css
Normal file
|
@ -0,0 +1,3 @@
|
|||
.container {
|
||||
display: block grid;
|
||||
}
|
17
src/features/player/controls/volume.tsx
Normal file
17
src/features/player/controls/volume.tsx
Normal file
|
@ -0,0 +1,17 @@
|
|||
import { Component, createSignal } from "solid-js";
|
||||
import css from "./volume.module.css";
|
||||
|
||||
interface VolumeProps {
|
||||
value: number;
|
||||
}
|
||||
|
||||
export const Volume: Component<VolumeProps> = (props) => {
|
||||
const [volume, setVolume] = createSignal(props.value);
|
||||
|
||||
return (
|
||||
<div class={css.container}>
|
||||
<button>mute</button>
|
||||
<input type="range" value={volume()} min="0" max="1" step="0.01" />
|
||||
</div>
|
||||
);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue