I've been working with your library and I noticed an issue regarding the "boundsPadding" or any other attribute using camelCase in HTML Script attachment. In my case, I need to use the "boundsPadding" attribute, which is not recognized as case-sensitive in the browser. This causes the attribute to be displayed as "boundspadding" in the browser, which results in JavaScript not recognizing it when trying to access the attribute using dot notation.
Additionally, the library does not recognize "bounds-padding" or "boundspadding" as valid options to set the bounds padding attribute. This further limits the options for users to set the attribute correctly.
I've been working with your library and I noticed an issue regarding the "boundsPadding" or any other attribute using camelCase in HTML Script attachment. In my case, I need to use the "boundsPadding" attribute, which is not recognized as case-sensitive in the browser. This causes the attribute to be displayed as "boundspadding" in the browser, which results in JavaScript not recognizing it when trying to access the attribute using dot notation.
Additionally, the library does not recognize "bounds-padding" or "boundspadding" as valid options to set the bounds padding attribute. This further limits the options for users to set the attribute correctly.
Example:
While the "bounds" and "autocenter" attributes are successfully applied to the panzoom, the "boundsPadding" attribute is currently being ignored.