* Get all instances of this component, optionally iterating with callback
(callback: ((instance: any) => void) | null = null)
| 269 | * Get all instances of this component, optionally iterating with callback |
| 270 | */ |
| 271 | static instances (callback: ((instance: any) => void) | null = null): ReturnType<typeof $_> { |
| 272 | if (typeof callback === 'function') { |
| 273 | return $_(this.tag).each(callback as any); |
| 274 | } |
| 275 | return $_(this.tag); |
| 276 | } |
| 277 | |
| 278 | // ========================================= |
| 279 | // Instance Methods |
no test coverage detected