Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add parameter for classTarget to toggle iframe preview class #144

Merged
merged 2 commits into from
Mar 10, 2021
Merged

Add parameter for classTarget to toggle iframe preview class #144

merged 2 commits into from
Mar 10, 2021

Conversation

dricholm
Copy link
Contributor

@dricholm dricholm commented Mar 9, 2021

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.

Closes #133.

- Defaults to existing functionality, toggling the class on the iframe's
  <body>.
@hipstersmoothie
Copy link
Owner

@dricholm could you add this option to the README?

@dricholm
Copy link
Contributor Author

@hipstersmoothie Thank you for reminding me. I pushed a new commit.

@hipstersmoothie hipstersmoothie merged commit 512ec0e into hipstersmoothie:master Mar 10, 2021
@hipstersmoothie
Copy link
Owner

🚀 PR was released in v1.0.7 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Option to specify class on preview's html
2 participants