Options
All
  • Public
  • Public/Protected
  • All
Menu

Polymer element to manage Google Photos album selections

Hierarchy

Index

Constructors

Static constructor

  • Returns AlbumsViewElement

Events

Protected onAlbumSelectChanged

  • onAlbumSelectChanged(ev: any): Promise<void>

Protected onChromeMessage

  • onChromeMessage(request: IMsgType, sender: MessageSender, response: ChromeMsg.ResponseCB): boolean

Properties

Protected albums

albums: IAlbum[] = []

The array of all albums

Protected disabled

disabled: boolean = false

Flag to indicate if UI is disabled

Protected ironList

ironList: IronListElement

iron-list of albums

permPicasa

permPicasa: string = Permissions.STATE.notSet

Status of the option permission for the Google Photos API

waitForLoad

waitForLoad: boolean = false

Flag to display the loading... UI

Protected waiterStatus

waiterStatus: string = ""

Status label for waiter

Accessors

isHidden

  • get isHidden(): boolean

Static template

  • get template(): HTMLTemplateElement

Methods

Protected computePhotoLabel

  • computePhotoLabel(count: number): string

connectedCallback

  • connectedCallback(): void

disconnectedCallback

  • disconnectedCallback(): void

Protected fireEvent

  • fireEvent(name: string, detailValue?: any): void
  • Dispatch an event

    Parameters

    • name: string

      event name

    • Optional detailValue: any

      optional value

    Returns void

Protected loadAlbum

  • loadAlbum(album: IAlbum, wait?: boolean): Promise<boolean>

loadAlbumList

  • loadAlbumList(updatePhotos: boolean): Promise<void>

removeSelectedAlbums

  • removeSelectedAlbums(): void

selectAllAlbums

  • selectAllAlbums(): Promise<void>

Protected selectSavedAlbums

  • selectSavedAlbums(): Promise<void>

Protected waitForLoadChanged

  • waitForLoadChanged(waitForLoad: boolean, waiterStatus: string): void

Static Protected getTotalPhotoCount

  • getTotalPhotoCount(): Promise<number>

Static localize

  • localize(name: string, def?: undefined | string): string
  • Localize a string

    Parameters

    • name: string

      name from _locales

    • Optional def: undefined | string

      optional default value if name not found

    Returns string

Static Protected updateSavedAlbums

  • updateSavedAlbums(): Promise<boolean>

Generated using TypeDoc