ViewRegistry.on('extensions-updated') method
ViewRegistry › on(‘extensions-updated’)
Unofficial
Called when the file extensions mapping has been updated.Signature:
on(name: "extensions-updated", callback: () => void): EventRefParameters:
| Parameter | Type | Description |
|---|---|---|
| name | "extensions-updated" | The event name. |
| callback | () => void | The callback to invoke. |
Returns: EventRef — The event reference.