Skip to main content
cngx-src documentation

withCopyResetDelay

Functionforms/input

projects/forms/input/input-config.ts

Description#

Sets the global delay in milliseconds before CngxCopyValue reverts its copied state - the window where the button reads as copied before snapping back to idle. Library default is 2000.

  • A per-input binding overrides it.
  • Maps to the copyResetDelay config key.
provideInputConfig(withCopyResetDelay(3000));

Signature#

withCopyResetDelay(ms: number)

Parameters#

@parammsnumber

Returns#

InputConfigFeature