-
- Downloads
feat: Increase digits option and improve attribute observation #330
Summary of changes - Updated the default digits option from 4 to 6 in the Digits component. - Enhanced the option observer to react to changes in the digits option, ensuring the component updates appropriately when the digits value changes. - Cleaned up the `attributeChangedCallback` method in CustomElement by adding a newline for better readability. Changes - `digits.mjs` - Changed the default value of `digits` from 4 to 6 to accommodate. - Added a check for digits changes in the option observer, ensuring that the digit controls are updated when the digits option is modified. Changes - `customelement.mjs` - Added a newline in the `attributeChangedCallback` method to improve code clarity and layout, making it easier for future developers to read and maintain the code.
Please register or sign in to comment