File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -223,6 +223,13 @@ export class ReplayContainer implements ReplayContainerInterface {
223
223
return this . _isPaused ;
224
224
}
225
225
226
+ /**
227
+ * Determine if canvas recording is enabled
228
+ */
229
+ public isRecordingCanvas ( ) : boolean {
230
+ return Boolean ( this . _canvas ) ;
231
+ }
232
+
226
233
/** Get the replay integration options. */
227
234
public getOptions ( ) : ReplayPluginOptions {
228
235
return this . _options ;
Original file line number Diff line number Diff line change @@ -485,6 +485,7 @@ export interface ReplayContainer {
485
485
) => typeof THROTTLED | typeof SKIPPED | Promise < AddEventResult | null > ;
486
486
isEnabled ( ) : boolean ;
487
487
isPaused ( ) : boolean ;
488
+ isRecordingCanvas ( ) : boolean ;
488
489
getContext ( ) : InternalEventContext ;
489
490
initializeSampling ( ) : void ;
490
491
start ( ) : void ;
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ export interface CanvasManagerInterface {
56
56
57
57
export interface CanvasManagerOptions {
58
58
recordCanvas : boolean ;
59
- isManualSnapshot ?: boolean ;
59
+ enableManualSnapshot ?: boolean ;
60
60
blockClass : string | RegExp ;
61
61
blockSelector : string | null ;
62
62
unblockSelector : string | null ;
You can’t perform that action at this time.
0 commit comments