Home » JavaScript (page 3)

JavaScript

AngularJS orderBy Multiple Fields Example

Hello readers, in this tutorial, we will learn how to implement and use the orderBy filter in the angular web applications. 1. Introduction Angular is a JavaScript MVC or Model-View-Controller framework developed by Google that lets developers build well structured, easily testable, and maintainable front-end applications. But before we start creating a real application using the angular library, let us ...

Read More »

AngularJS ng-click Directive Example

Hello readers, in this tutorial, we will learn how to implement and use the ng-click directive in the angular web applications. For this tutorial, we’ll have a button that will display an output message when it is clicked. 1. Introduction Angular is a JavaScript MVC or Model-View-Controller framework developed by Google that lets developers build well structured, easily testable, and ...

Read More »

Serverless is the new Build Server: Google CloudBuild (Container Builder) via NodeJS

Google’s CloudBuild (a.k.a. “Container Builder”) is an on-demand, container-based build service offered under the Google Cloud Platform (GCP). For you and me, it is a nice alternative to maintaining and paying for our own build server, and a clever addition to anyone’s CI stack. CloudBuild allows you to start from a source (e.g. a Google Cloud Source repo, a GCS ...

Read More »

JavaScript runtime environment

Have you just started learning JavaScript? Or maybe you already have some language experience but want to understand JavaScript runtime in more details? Whatever reason brought you here, there are a few elements of JavaScript runtime that you should get to know. In this article, I’m going to show you how the JavaScript runtime environment works under the hood. You’ll ...

Read More »

JavaScript: Porting from react-css-modules to babel-plugin-react-css-modules (with Less)

I recently found a bug in react-css-modules that prevented me from upgrading react-mobx which prevented us from upgrading to React 16. Then, I found out that react-css-modules is “no longer actively maintained”. Hence, whether I wanted to or not, I was kind of forced into moving from react-css-modules to babel-plugin-react-css-modules. Doing the port is mostly straightforward. Once I switched libraries, the rest of the ...

Read More »

AngularJS ng-change Directive Example

Hello readers, in this tutorial, we will learn how to implement and use the ng-change directive in the angular web applications. For this tutorial, we’ll have the change event attached to a checkbox. 1. Introduction Angular is a JavaScript MVC or Model-View-Controller framework developed by Google that lets developers build well structured, easily testable, and maintainable front-end applications. But before ...

Read More »

AngularJS if/else Example

Hello readers, in this tutorial, we will learn how to implement and use the ng-if directive in the angular web applications. For this tutorial, we’ll have a checkbox element that will display the output if and only if the given condition is satisfied. 1. Introduction Angular is a JavaScript MVC or Model-View-Controller framework developed by Google that lets developers build ...

Read More »

AngularJS Hover Example

Hello readers, in this tutorial, we will learn how to implement and use the ng-mouseover event in the angular web applications. For this tutorial, we’ll have the hover functionality attached to a button. 1. Introduction Angular is a JavaScript MVC or Model-View-Controller framework developed by Google that lets developers build well structured, easily testable, and maintainable front-end applications. But before ...

Read More »