Skip to content

Commit f934573

Browse files
committed
Sync with Kendo UI Professional
1 parent d8a34c5 commit f934573

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

docs/api/javascript/ui/pager.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Specifies a template used to populate the value of the aria-label attribute of t
3434
dataSource.read();
3535

3636
$("#pager").kendoPager({
37-
ARIATemplate: "Current page is #=page#"
37+
ARIATemplate: "Current page is #=page#",
3838
dataSource: dataSource
3939
});
4040
</script>

docs/api/javascript/ui/panelbar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ A string, DOM element or jQuery object which represents the item. A string is tr
865865
});
866866

867867
var panelBar = $("#panelBar").data("kendoPanelBar");
868-
var dataItem = panelBar.dataItem(".k-item:first");
868+
var dataItem = panelBar.dataItem(".k-panelbar-item:first");
869869
/* The result can be observed in the DevTools(F12) console of the browser. */
870870
console.log(dataItem.text); // displays "foo"
871871
</script>

docs/api/javascript/ui/pdfviewer.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ The width of the PDFViewer.
186186

187187
#### Example - customizing the width of the viewer
188188

189+
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.2.2/pdf.js"></script>
189190
<div id="pdf-viewer"></div>
190191
<script>
191192
$("#pdf-viewer").kendoPDFViewer({
@@ -199,6 +200,7 @@ The height of the PDFViewer.
199200

200201
#### Example - customizing the height of the viewer
201202

203+
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.2.2/pdf.js"></script>
202204
<div id="pdf-viewer"></div>
203205
<script>
204206
$("#pdf-viewer").kendoPDFViewer({
@@ -212,6 +214,7 @@ Specifies the default page size if no PDF is displayed in the PDFViewer. The pag
212214

213215
#### Example - customizing the default page sizes
214216

217+
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.2.2/pdf.js"></script>
215218
<div id="pdf-viewer"></div>
216219
<script>
217220
$("#pdf-viewer").kendoPDFViewer({
@@ -236,6 +239,7 @@ Specifies the default scale of the pages.
236239

237240
#### Example - customizing the scale
238241

242+
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.2.2/pdf.js"></script>
239243
<div id="pdf-viewer"></div>
240244
<script>
241245
$("#pdf-viewer").kendoPDFViewer({
@@ -252,6 +256,7 @@ Specifies the minimum zoom that could be applied to the pages.
252256

253257
#### Example - customizing the zoomMin
254258

259+
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.2.2/pdf.js"></script>
255260
<div id="pdf-viewer"></div>
256261
<script>
257262
$("#pdf-viewer").kendoPDFViewer({
@@ -268,6 +273,7 @@ Specifies the maximum zoom that could be applied to the pages.
268273

269274
#### Example - customizing the zoomMax
270275

276+
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.2.2/pdf.js"></script>
271277
<div id="pdf-viewer"></div>
272278
<script>
273279
$("#pdf-viewer").kendoPDFViewer({
@@ -284,6 +290,7 @@ Specifies the zoom rate that could be applied to the pages. Used when zooming on
284290

285291
#### Example - customizing the zoomRate
286292

293+
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.2.2/pdf.js"></script>
287294
<div id="pdf-viewer"></div>
288295
<script>
289296
$("#pdf-viewer").kendoPDFViewer({
@@ -304,6 +311,7 @@ Defines the surface type. It accepts `canvas` or `svg`. This option is supported
304311

305312
#### Example - customizing the type of pages' surfaces
306313

314+
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.2.2/pdf.js"></script>
307315
<div id="pdf-viewer"></div>
308316
<script>
309317
$("#pdf-viewer").kendoPDFViewer({
@@ -335,6 +343,7 @@ For DPL Processing `exportAs` tool could be configured to export a single page t
335343

336344
#### Example - customizing the toolbar items
337345

346+
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.2.2/pdf.js"></script>
338347
<div id="pdf-viewer"></div>
339348
<script>
340349
$("#pdf-viewer").kendoPDFViewer({
@@ -349,6 +358,7 @@ For DPL Processing `exportAs` tool could be configured to export a single page t
349358

350359
#### Example - customizing the pager default tool
351360

361+
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.2.2/pdf.js"></script>
352362
<div id="pdf-viewer"></div>
353363
<script>
354364
$("#pdf-viewer").kendoPDFViewer({
@@ -362,6 +372,7 @@ For DPL Processing `exportAs` tool could be configured to export a single page t
362372

363373
#### Example - customizing the zoom default tool
364374

375+
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.2.2/pdf.js"></script>
365376
<div id="pdf-viewer"></div>
366377
<script>
367378
$("#pdf-viewer").kendoPDFViewer({
@@ -413,6 +424,7 @@ Specifies what element will be added in the ToolBar wrapper. Items with template
413424

414425
#### Example
415426

427+
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.2.2/pdf.js"></script>
416428
<div id="pdf-viewer"></div>
417429
<script>
418430
$("#pdf-viewer").kendoPDFViewer({

0 commit comments

Comments
 (0)