An attack is a quick and strong distortion of reality, created
with the purpose of grabbing the user attention or to process the visual
sensation as an attack by an exterior force.
Attacks can be done by changing quickly colors, texts, images and dimensions.
This plugin has the following built-in attack tasks:
color-attack - produces a change in colors, returning to the original color at the end.public export type
export type AttackTaskName =
/** @see #ColorAttackTaskParams */
| 'color-attack';
public export type
export type AttackTaskParams =
ColorAttackTaskParams;
public export interface
export interface ColorAttackTaskParams extends AnyParams{ }
public property [ColorAttackTaskParams]
attack: string[];
List of colors to attack the original color.
public property [ColorAttackTaskParams]
prop?: string;
Property Name.
default: : 'color'
public property [ColorAttackTaskParams]
cycles?: uint | ExprString;
Number of times it will attack the color before returning to the original.
Expressions are supported.
public property [ColorAttackTaskParams]
endColor?: string;
Color to end the attack. If undefined, it uses the original color.