@fuel-ts/account .TargetObject
Target Object that represents the global event bus used by Fuel Connector Manager. On browser the default target is the window or document. For other environments the event bus should be provided.
• Optional
addEventListener: (event
: string
, callback
: any
) => void
▸ (event
, callback
): void
Name | Type |
---|---|
event | string |
callback | any |
void
packages/account/src/connectors/types/target-object.ts:12
• Optional
emit: (event
: string
, data
: any
) => void
▸ (event
, data
): void
Name | Type |
---|---|
event | string |
data | any |
void
packages/account/src/connectors/types/target-object.ts:11
• Optional
off: (event
: string
, callback
: any
) => void
▸ (event
, callback
): void
Name | Type |
---|---|
event | string |
callback | any |
void
packages/account/src/connectors/types/target-object.ts:10
• Optional
on: (event
: string
, callback
: any
) => void
▸ (event
, callback
): void
Name | Type |
---|---|
event | string |
callback | any |
void
packages/account/src/connectors/types/target-object.ts:9
• Optional
postMessage: (message
: string
) => void
▸ (message
): void
Name | Type |
---|---|
message | string |
void
packages/account/src/connectors/types/target-object.ts:14
• Optional
removeEventListener: (event
: string
, callback
: any
) => void
▸ (event
, callback
): void
Name | Type |
---|---|
event | string |
callback | any |
void