()
| 39 | } |
| 40 | |
| 41 | static override async onLoad(): Promise<void> { |
| 42 | const particles = this.engine.state('particles'); |
| 43 | if (particles !== '') { |
| 44 | const action = this.engine.prepareAction(particles, { cycle: 'Application' }) as ActionInstance | null; |
| 45 | if (action !== null) { |
| 46 | await action.willApply(); |
| 47 | await action.apply(); |
| 48 | await action.didApply({ updateHistory: false, updateState: false }); |
| 49 | } |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | static override matchString([show, type]: string[]): boolean { |
| 54 | return show === 'show' && type === 'particles'; |
nothing calls this directly
no test coverage detected