Theater
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Component created
Component changed
Component body
INTRODUCTION
A basic field formatter implementation of TheaterJS.
Here is a codepen.io showing the library in action: http://codepen.io/Zhouzi/pen/JoRazP
The Theater module lets you easily create a simplified version of TheaterJS.
It defines a field, that lets you insert some simple markup, that outputs as a TheaterJS scene.
This module currently does not support options.
REQUIREMENTS
This module requires the TheaterJS script available at https://github.com/Zhouzi/TheaterJS.
The script is defined as a third party library in theater.libraries.yml.
Using the module
Add a Theater field using the widget type Theater script.
The field can contain text in the following format:
actor: text, number, ... ;
For example:
vader:"Luke...", 400;
luke:"What?", 400;
vader:"I am", 200, ".", 200, ".", 200, ". ";
