Core JavaScript library
The core JavaScript library in Halfmoon comes with a bunch of reusable functions, methods, and attributes for handling components that require JavaScript. This page talks about them in details.
Before we begin
For any of this to work, the halfmoon.js file must be included in a <script> tag, ideally at the end of the <body> tag. After this is done, a global namespace called halfmoon will be available, which contains all the functions.