Project Webinar VueJS HIMIT PENS
aanmfa / webinarvuejs Goto Github PK
View Code? Open in Web Editor NEWWebinar VueJS HIMIT PENS
Webinar VueJS HIMIT PENS
Hi Mas Aan, terima kasih telah mengirimkan kode belajar Vue.js Fundamental, saya sangat mengapresiasi kerja keras Mas Aan.
Mas juga telah menggunakan kerangka kerja CSS Bootstrap untuk gaya aplikasi pencari teks video YouTube ini. Mas juga sudah membuat fungsi utilitas untuk memformat waktu menjadi lebih mudah dibaca oleh manusia. Luar biasa Mas!
Namun saya ada 1 saran untuk kode yg Mas kirimkan yakni mengubah fungsi utilitas tersebut menjadi fungsi properti penghitung. Pada berkas index.html
baris ke 94-107 berikut:
Lines 94 to 107 in d6a11b3
Kurang lebih jika fungsi tersebut diubah menjadi properti penghitung akan menjadi seperti berikut:
export default {
computed: {
toTimeFormat() {
return (detik) => {
// Kode di dalam fungsi
return stringValue + minutes + ":" + seconds
}
}
}
}
Lebih lanjut mengenai perbedaan fungsi dan properti penghitung dapat Mas baca pada tautan berikut, Dokumentasi Vue.js Bahasa Indonesia - Properti Penghitung.
Semangat Mas! ๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.