21
Apr
2023
Posted in Sheet Worker Guide

A Sheet Worker Reprise

A quick overview of rules to follow and pitfalls to avoid

18
Apr
2023
Posted in CSS Extras

Removing the Dice Icon In Buttons

The dice icon in roll buttons was a great idea. Here’s how to remove it.

14
Apr
2023
Posted in Functions Sheet Worker Extras

Function Library

Reusing code saves a lot of typing and avoids typos. Here’s how to do it.

11
Apr
2023
Posted in Sheet Worker Extras

Functions and the Fat Arrow

What are functions? What is the fat arrow syntax? How they make code easier to write.

07
Apr
2023
Posted in Sheet Worker Extras

Template Literals

What is a template literal? There are three types of quotation mark???

04
Apr
2023
Posted in Sheet Worker Extras

The Ternary Operator – The One-Line If

My favourite feature of JavaScript is just as useful in Roll20.

31
Mar
2023
Posted in Sheet Worker Guide

setAttrs and Saving Attributes

Saving attributes isn’t always simple! more about that here.

28
Mar
2023
Posted in Sheet Worker Guide

Action Buttons

Action Buttons are another way to launch sheet workers. Click the button to toggle buffs, show or hide tabs, and more.

24
Mar
2023
Posted in Sheet Worker Guide

Changes and the eventInfo Object

What is the eventInfo object, and what is it good for. Find out here.

17
Mar
2023
Posted in Sheet Worker Guide

Events, and watching Attributes

When you click a button or change an attribute, here’s what happens.

14
Mar
2023
Posted in Sheet Worker Guide

Asynchronicity and Things to Avoid With Loops

What does Asynchronicity mean and how does it affect you?

07
Mar
2023
Posted in Sheet Worker Guide

Undefined and Other Error Values

About undefined and similar “unvariables”. Avoid them when you can.