Closed dricholm closed 3 years ago
Add a new parameter classTarget, which can be set to define where the dark class should be toggled inside the iframe document. Defaults to existing functionality, toggling the class on the iframe's body.
classTarget
body
Closes #133.
@dricholm could you add this option to the README?
@hipstersmoothie Thank you for reminding me. I pushed a new commit.
:rocket: PR was released in v1.0.7 :rocket:
v1.0.7
Add a new parameter
classTarget
, which can be set to define where the dark class should be toggled inside the iframe document. Defaults to existing functionality, toggling the class on the iframe'sbody
.Closes #133.