modified syntax

This commit is contained in:
Matthis FAUVET 2024-06-21 18:38:45 +02:00
parent da90479b2b
commit 6a306b263b

View File

@ -11,7 +11,7 @@
<form onsubmit={ add }> <form onsubmit={ add }>
<div class="flex flex-row items-baseline"> <div class="flex flex-row items-baseline">
<input class="flex-grow-1 border-solid border bg-emerald-100 w-half rounded-lg border-emerald-300 border h-20 pl-6 grow" <input class="flex-grow-1 border-solid border bg-emerald-100 w-half rounded-lg border-emerald-300 border h-20 pl-6 grow"
placeholder={ state.placeholder } onkeyup={ edit } /> placeholder={ state.placeholder }/>
<input type="button" value="Playlists" <input type="button" value="Playlists"
class="ml-2 border-solid bg-emerald-300 border rounded-lg border-emerald-600 mb-4 h-20 w-48 mt-2"/> class="ml-2 border-solid bg-emerald-300 border rounded-lg border-emerald-600 mb-4 h-20 w-48 mt-2"/>
</div> </div>
@ -35,12 +35,7 @@
}; };
this.paintButton(); this.paintButton();
this.album_style = "isActivate"; this.album_style = "isActivate";
},
onMounted(){
this.update(); this.update();
},
edit(e) {
}, },
click(e) { click(e) {
e.preventDefault(); e.preventDefault();