mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-02 19:34:31 +08:00
30 lines
564 B
TypeScript
30 lines
564 B
TypeScript
// JQUERY
|
|
|
|
$('#id').prettyPhoto();
|
|
|
|
$('#id').prettyPhoto({ animation_speed: 'fast' });
|
|
|
|
// JQUERYSTATIC
|
|
|
|
$.prettyPhoto.changeGalleryPage('next');
|
|
|
|
$.prettyPhoto.changeGalleryPage('previous');
|
|
|
|
$.prettyPhoto.changePage('next');
|
|
|
|
$.prettyPhoto.changePage('previous');
|
|
|
|
$.prettyPhoto.close();
|
|
|
|
$.prettyPhoto.open();
|
|
|
|
$.prettyPhoto.open('test.jpg', 'title', 'description');
|
|
|
|
$.prettyPhoto.open(['test1.jpg', 'test2.jpg'], ['title1', 'title2'], ['description1', 'description2']);
|
|
|
|
$.prettyPhoto.startSlideshow();
|
|
|
|
$.prettyPhoto.stopSlideshow();
|
|
|
|
$.prettyPhoto.version;
|