qcobjects-docs
Version:
The official app and website for documentation of QCObjects
18 lines (12 loc) • 298 B
Markdown
### Effect
**Effect** is a super class to define custom effects.
#### Example:
```javascript
class CustomFade extends Effect {
duration = 500; // milliseconds of duration
apply (){
// You need the following line to apply a Fade effect in runtime
super.apply(this,...arguments);
}
}
```