Examples & Tips
…February 19, 2018 1519017060 Ambient Light Events Use the light sensor on the user’s devices to change elements on the page depending on brightness. Battery API January 17, 2017 1484629200…
Using Nebula DOM Events in Google Tag Manager
Nebula triggers DOM events whenever a “generic” tracked interaction occurs. This allows other JavaScript (child themes, plugins) to listen and process these events themselves. This is useful for third-party integration…
high-contrast-color()
This function requires the linear channel value lookup table. For simple functionality (when only needing black and white return values) consider using the readable-color() function instead….
Analytics Overview
…Nebula uses a combination of custom JavaScript events as well as including autotrack.js for advanced event data without needing any programming at all. These events include: Events are shown as…
Frequently Asked Questions
Have a question that isn’t answered here? Use the Discussions tab on the Github repo »…
Welcome to the Gutenberg Editor
…content—somewhat similar to LEGO bricks—that you can move around and interact with. Move your cursor around and you’ll notice the different blocks light up with outlines and arrows. Press the…
How to use the JavaScript WordPress Hooks API (Without Any Extra Libraries)
…function of the main.js file inside the child theme! Don’t forget you can trigger DOM events without this API As an aside in closing, the doAction() event can be achieved…
ga_ajax()
This function should be called through the Nebula ga() function. The switch between the Google Analytics ga() function and the Nebula ga() function happens automatically, so essentially the ga() function…