Interface JPhotoOpenPopupParams

interface JPhotoOpenPopupParams {
    keepSameSelectedPhotoId?: boolean;
    onDelete?: ((photo) => boolean);
    onUpdate?: ((photo, title, comment) => boolean);
    selectedPhotoId?: JId;
}

Properties

keepSameSelectedPhotoId?: boolean
onDelete?: ((photo) => boolean)

Type declaration

    • (photo): boolean
    • Parameters

      Returns boolean

onUpdate?: ((photo, title, comment) => boolean)

Type declaration

    • (photo, title, comment): boolean
    • Parameters

      • photo: JPhoto
      • title: string
      • comment: undefined | string

      Returns boolean

selectedPhotoId?: JId