Add record option maskInputFn for custom mask input function (#409)

This commit is contained in:
Yaozu Lv
2026-04-01 12:00:00 +08:00
committed by GitHub
parent 4726500979
commit 4c9fc8ce70
3 changed files with 14 additions and 1 deletions

View File

@@ -37,6 +37,7 @@ function record<T = eventWithTime>(
inlineStylesheet = true,
maskAllInputs,
maskInputOptions: _maskInputOptions,
maskInputFn,
hooks,
packFn,
sampling = {},
@@ -293,6 +294,7 @@ function record<T = eventWithTime>(
blockClass,
ignoreClass,
maskInputOptions,
maskInputFn,
inlineStylesheet,
sampling,
recordCanvas,