Options
All
  • Public
  • Public/Protected
  • All
Menu

Polymer element for the Google Photos page

Hierarchy

Index

Constructors

Static constructor

  • Returns GooglePhotosPageElement

Events

onDeselectAllTapped

  • onDeselectAllTapped(): void

onHelpTapped

  • onHelpTapped(): void

onModeTapped

  • onModeTapped(): void

onNoAlbums

  • onNoAlbums(): void

onRefreshTapped

  • onRefreshTapped(): void

onSelectAllTapped

  • onSelectAllTapped(): void

onUseGoogleChanged

  • onUseGoogleChanged(): void

Properties

Protected albumsView

albumsView: AlbumsViewElement

Protected googlePhotosToggle

googlePhotosToggle: PaperToggleButtonElement

isAlbumMode

isAlbumMode: boolean = true

Select by albums or photos

Protected photosView

photosView: PhotosViewElement

useGoogle

useGoogle: boolean = true

Should we use the Google Photos in the screensaver

useGoogleAlbums

useGoogleAlbums: boolean = true

Should we use album photos in the screensaver

useGooglePhotos

useGooglePhotos: boolean = false

Should we use google photos in the screensaver

Accessors

isAlbumIconDisabled

  • get isAlbumIconDisabled(): boolean

modeIcon

  • get modeIcon(): "myicons:photo-album" | "myicons:photo"

modeTooltipLabel

  • get modeTooltipLabel(): string

pageTitle

  • get pageTitle(): string

refreshTooltipLabel

  • get refreshTooltipLabel(): string

Static template

  • get template(): HTMLTemplateElement

Methods

Protected changeMode

  • changeMode(): void

Protected fireEvent

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

    Parameters

    • name: string

      event name

    • Optional detailValue: any

      optional value

    Returns void

loadAlbumList

  • loadAlbumList(doPhotos?: boolean): Promise<void>

Protected loadPhotos

  • loadPhotos(): Promise<void>

onEnterPage

  • onEnterPage(): Promise<void>

onLeavePage

  • onLeavePage(): Promise<void>

Protected uiStateChanged

  • uiStateChanged(isAlbumMode: boolean, useGoogle: boolean): void

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

Generated using TypeDoc