Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 967 Bytes

File metadata and controls

12 lines (10 loc) · 967 Bytes

Reattribute.js - Configuration:

The following configuration options are available when initializing or updating Rattribute.js.

Option Default Description
responsiveDelay 250 Specifies the delay, in milliseconds, before Rattribute.js updates elements after the browser window is resized.
removeAttributes true Determines whether Rattribute.js removes its own attributes from elements after they have been processed.
enabled true Determines whether Rattribute.js starts with automation enabled.
observationMode true Enables DOM observation, allowing Rattribute.js to automatically detect and configure newly added elements.
assignMissingIds false Automatically assigns unique IDs to elements that do not already have one.
elementIdPrefix "rattribute" Specifies the prefix used when generating IDs for elements, provided assignMissingIds is enabled.