|
2 | 2 | <html lang="en"> |
3 | 3 | <head> |
4 | 4 | <meta charset='utf-8'> |
5 | | - <title>pdfjskit 2.2.3 | Documentation</title> |
| 5 | + <title>pdfjskit 2.4.0 | Documentation</title> |
6 | 6 | <meta name='description' content='PdfJsKit is a PDF Viewer built on top of PDF.js, with modern UI and new features which supports integration for all JS frameworks.'> |
7 | 7 | <meta name='viewport' content='width=device-width,initial-scale=1'> |
8 | 8 | <link href='assets/bass.css' rel='stylesheet'> |
|
16 | 16 | <div id='split-left' class='overflow-auto fs0 height-viewport-100'> |
17 | 17 | <div class='py1 px2'> |
18 | 18 | <h3 class='mb0 no-anchor'>pdfjskit</h3> |
19 | | - <div class='mb1'><code>2.2.3</code></div> |
| 19 | + <div class='mb1'><code>2.4.0</code></div> |
20 | 20 | <input |
21 | 21 | placeholder='Filter' |
22 | 22 | id='filter-input' |
@@ -210,6 +210,12 @@ <h3 class='mb0 no-anchor'>pdfjskit</h3> |
210 | 210 | #rotateAllPages |
211 | 211 | </a></li> |
212 | 212 |
|
| 213 | + <li><a |
| 214 | + href='#pdfviewerrotatepages' |
| 215 | + class='regular pre-open'> |
| 216 | + #rotatePages |
| 217 | + </a></li> |
| 218 | + |
213 | 219 | <li><a |
214 | 220 | href='#pdfviewertogglefullscreen' |
215 | 221 | class='regular pre-open'> |
@@ -3124,6 +3130,69 @@ <h3 class='fl m0' id='pdfviewer'> |
3124 | 3130 |
|
3125 | 3131 |
|
3126 | 3132 |
|
| 3133 | +</section> |
| 3134 | + |
| 3135 | + </div> |
| 3136 | + </div> |
| 3137 | + |
| 3138 | + <div class='border-bottom' id='pdfviewerrotatepages'> |
| 3139 | + <div class="clearfix small pointer toggle-sibling"> |
| 3140 | + <div class="py1 contain"> |
| 3141 | + <a class='icon pin-right py1 dark-link caret-right'>▸</a> |
| 3142 | + <span class='code strong strong truncate'>rotatePages(delta)</span> |
| 3143 | + </div> |
| 3144 | + </div> |
| 3145 | + <div class="clearfix display-none toggle-target"> |
| 3146 | + <section class='p2 mb2 clearfix bg-white minishadow'> |
| 3147 | + |
| 3148 | + |
| 3149 | + |
| 3150 | + <p>Rotates all pages or current page according to current rotation mode, by delta degree.</p> |
| 3151 | + |
| 3152 | + <div class='pre p1 fill-light mt0'>rotatePages(delta: <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">Number</a>)</div> |
| 3153 | + |
| 3154 | + |
| 3155 | + |
| 3156 | + |
| 3157 | + |
| 3158 | + |
| 3159 | + |
| 3160 | + |
| 3161 | + |
| 3162 | + |
| 3163 | + |
| 3164 | + <div class='py1 quiet mt1 prose-big'>Parameters</div> |
| 3165 | + <div class='prose'> |
| 3166 | + |
| 3167 | + <div class='space-bottom0'> |
| 3168 | + <div> |
| 3169 | + <span class='code bold'>delta</span> <code class='quiet'>(<a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">Number</a>)</code> |
| 3170 | + The degree to add to the rotation. |
| 3171 | + |
| 3172 | + </div> |
| 3173 | + |
| 3174 | + </div> |
| 3175 | + |
| 3176 | + </div> |
| 3177 | + |
| 3178 | + |
| 3179 | + |
| 3180 | + |
| 3181 | + |
| 3182 | + |
| 3183 | + |
| 3184 | + |
| 3185 | + |
| 3186 | + |
| 3187 | + |
| 3188 | + |
| 3189 | + |
| 3190 | + |
| 3191 | + |
| 3192 | + |
| 3193 | + |
| 3194 | + |
| 3195 | + |
3127 | 3196 | </section> |
3128 | 3197 |
|
3129 | 3198 | </div> |
|
0 commit comments