[JavaScript] Create reusable component in separate HTML file
In HTML, we can use tag <Template> to create reusable component, but it is limited in single. In this article, it will show how to create JavaScript component in seperate HTML / JS files.
In HTML, we can use tag <Template> to create reusable component, but it is limited in single. In this article, it will show how to create JavaScript component in seperate HTML / JS files.
SonarQube is an open source static code analysis tool to ensure code quality. To ensure its traceable, it support upload scan result to remote server. Dependency check is one of the security measurement to ensure […]
In JavaScript, replace() only can update first item but not for all in string. replaceAll() is a new method introduced to v8 engine. However, for some browser engine still cannot recognize it. To resolve this […]
In Java and C#, it is common to use List to store collection and it can simply remove item by method remove() . However, there is no list in Javascript so it need to handle […]
For web API integration test, some of them might need to execute some tasks as parameter for target API. In this case, pre-request script is helpful to collect data and make some data massage before […]
DataTables 是一個在資金所限但又要用DataGrid 情況下的一個替代品. 透過JQuery, 可以將資料從JSON 中顯示出來.
Select2.js 是JQuery 一個套件, 既整合了dropdown 亦加入了AutoComplete 的功能. 然而若根據文件去使用時, onChange() 卻有機會令瀏覽器不能運作.
當須要堆砌表格時, 最正確的方法就是利用 Markup 配合JavaScript 及其他library 制造前端, 再利用REST API call 與後台溝通.
Electron 是一套建基以 Node.js 作back-end 和 Chromium 作front-end 的軟件框架. 最大的好處是可以利用JavaScript 建立Desktop Application, 同時亦可以利用npm 大量的 repository. 網上的教學主要都集中在如何利用Visual Studio Code 那邊. 但其實Visual Studio 2017 都可以做到.
寫Application時, 有 user 要求要在calendar中顯示event, 為了極速開發. 找到了個calendar 做參考. Source: http://www.oodlestechnologies.com/blogs/Fullcalendar-Walk-through-with-AngularJS Full Calendar: http://fullcalendar.io/
Copyright © 2024 | MH Magazine WordPress Theme by MH Themes