A deep-pond pill with a little rod: press it and the line casts out and lands the bobber, a fish is reeled in and flips, then turns into a check.
React + HTML
Gratis
Selengkapnya di bawah ↓
Sudah termasuk
Yang Anda dapat
Terang dan gelapMemakai warna tema Anda
Paket…
Ukuran kode…
Hemat baterai30 fps, diam saat tidak bergerak
Berhenti saat tersembunyiDi luar layar atau tab lain
Kurangi gerakanTenang bagi yang memintanya
Dicek di setiap perubahan
Pengecekan tipeTypeScript strict
Lint dan formatESLint · Prettier
Tes dan buildTangkapan layar terang dan gelap
Audit keamananTanpa advisori tinggi atau kritis
Usia paketSetiap versi sudah publik 7+ hari
CPU saat diamDi bawah setengah core saat diam, ≤ 30 fps
Kode
Ada yang janggal dengan komponen ini? Kirim masukan ›
fishing-rod-buttonHTML
index.htmlpageThe markup to copy, between the copy-from-here comments, on a demo page.
style.cssstyleThe styles: copy them into your CSS.
script.jsscriptThe behavior: load it after the markup.
index.html
The markup to copy, between the copy-from-here comments, on a demo page.
Memuat…
Cocok untuk
A fetch, import or sync action where waiting should feel like patience paying off.
Cara kerjanya
Press it: the rod flicks, the bobber lands and waits while your action runs, then a fish is reeled in and becomes a check. If it fails, the line comes back empty.
Cara memakai
Tautkan style.css dan script.js dari halaman Anda, lalu tempel markup dari index.html di tempat yang diinginkan.