Interface moduleJQueryStatic

Index

Properties

Methods

Properties

public version: string

prettyPhoto version number

Methods

public changeGalleryPage(direction: string)

Change gallery page in the prettyPhoto modal box

Parameters

  • direction: string

    Direction of the paging, previous or next.

public changePage(direction: string)

Change page in the prettyPhoto modal box

Parameters

  • direction: string

    Direction of the paging, previous or next.

public close()

Closes prettyPhoto.

public open(): boolean

Opens the prettyPhoto modal box. Note: Always returns false.

Returns

boolean

public open(image: string, title: string, description: string): boolean

Opens the prettyPhoto modal box. Note: Always returns false.

Parameters

  • image: string

    Full path to the image to be open, can also be an array containing full images paths.

  • title: string

    The title to be displayed with the picture, can also be an array containing all the titles.

  • description: string

    The description to be displayed with the picture, can also be an array containing all the descriptions.

Returns

boolean

public open(images: Array<string>, titles: Array<string>, descriptions: Array<string>): boolean

Opens the prettyPhoto modal box. Note: Always returns false.

Parameters

  • images: Array<string>
  • titles: Array<string>
  • descriptions: Array<string>

Returns

boolean

public startSlideshow()

Start the slideshow...

public stopSlideshow()

Stop the slideshow...