A screensaver
- Source:
Members
-
<private, static, constant> t :app.Screensaver.Template
-
Main auto-binding template
Type:
- Source:
Methods
-
<private, static> _onDomChange()
-
Event: Template Bound, bindings have resolved and content has been stamped to the page
- Source:
-
<private, static> _setupPhotoTransitions()
-
Process settings related to between photo transitions
- Source:
-
<private, static> _setZoom()
-
Set the window zoom factor to 1.0
- Source:
-
<static> createPages()
-
Create the app.SSViews that will be animated
- Source:
-
<static> launch( [delay])
-
Launch the slide show
Parameters:
Name Type Argument Default Description delayint <optional>
2000 delay before start
- Source:
-
<static> noPhotos() → {boolean}
-
Do we have usable photos
- Source:
Returns:
true if all photos are bad
- Type
- boolean
-
<static> setNoPhotos()
-
Set the state when no photos are available
- Source:
-
<static> setPaused(paused)
-
Set the state when slideshow is paused
Parameters:
Name Type Description pausedboolean paused state
- Source:
-
<static> setSizingType(type)
-
Set the sizing type for the paper-image elements
Parameters:
Name Type Description typestring The sizing type
- Source:
-
<static> setTimeLabel(label)
-
Set the time label
Parameters:
Name Type Description labelstring current time
- Source:
Type Definitions
-
Template
-
Main auto-binding template
Type:
- Element
- Source:
Properties:
Name Type Argument Description _viewsArray.<app.SSView> array of views
sizingTypestring <nullable>
the way an image is rendered
aniTypeint the animation type for photo transitions
screenWidthint screen width in pixels
screenHeightint screen height in pixels
pausedboolean true if slideshow paused
noPhotosboolean true if there are no usable photos
noPhotosLabelstring label when no photos are usable
timeLabelstring current time label
setfunction Polymer setter
pushfunction Polymer pusher