These are chat archives for openseadragon/openseadragon

10th
May 2016
James R. Griffin III
@jrgriffiniii
May 10 2016 15:38
Hello everyone, a quick question
When specifying an element ID within the config. options Object to the OpenSeadragon constructor (e. g. zoomInButton)
The targeted element has some styling applied directly to it via JavaScript
Is there any means by which to disable this?
Antoine Vandecreme
@avandecreme
May 10 2016 19:13
@jrgriffiniii what styles? All I am seeing in the code is this: https://github.com/openseadragon/openseadragon/blob/master/src/button.js#L139-L166
but that shouldn't be executed if you specify an element
James R. Griffin III
@jrgriffiniii
May 10 2016 20:46
Very sorry for the delay in my response @avandecreme, https://github.com/openseadragon/openseadragon/blob/master/src/button.js#L195-L196 appears to be what I am trying to override
I have a solution in place (by handling the "open" Event), but I just wish to confirm that there isn't a more optimal approach recommended by the community
Antoine Vandecreme
@avandecreme
May 10 2016 20:49
Doesn't look like it. Maybe this could be added. @iangilman might have a thought on that.