tests/testthat/_snaps/freezeframe.md

freezeframe_options(): returns a string with a tag</h1> <pre><code>Code freezeframe_options() Output [1] "&lt;script id=\"xaringanExtra-freezeframe-options\" type=\"application/json\"&gt;{\"selector\":\"img[src$=\\\"gif\\\"]\",\"trigger\":\"click\",\"overlay\":false,\"responsive\":true,\"warnings\":true}&lt;/script&gt;" </code></pre> <hr /> <pre><code>Code freezeframe_options("img") Output [1] "&lt;script id=\"xaringanExtra-freezeframe-options\" type=\"application/json\"&gt;{\"selector\":\"img\",\"trigger\":\"click\",\"overlay\":false,\"responsive\":true,\"warnings\":true}&lt;/script&gt;" </code></pre> <hr /> <pre><code>Code freezeframe_options(trigger = "none", responsive = FALSE) Output [1] "&lt;script id=\"xaringanExtra-freezeframe-options\" type=\"application/json\"&gt;{\"selector\":\"img[src$=\\\"gif\\\"]\",\"trigger\":false,\"overlay\":false,\"responsive\":false,\"warnings\":true}&lt;/script&gt;" </code></pre>



Try the xaringanExtra package in your browser

Any scripts or data that you put into this service are public.

xaringanExtra documentation built on July 16, 2022, 5:06 p.m.