Vault.on('raw') method
Vault › on(‘raw’)
Unofficial
Triggered whenever a file gets loaded internallySignature:
on(name: "raw", callback: (path: string) => void, ctx?: unknown): EventRefParameters:
| Parameter | Type | Description |
|---|---|---|
| name | "raw" | Should be 'raw'. |
| callback | (path: string) => void | The callback function. |
| ctx? | unknown | The context passed as this to the callback function. |
Returns: EventRef — The event reference.