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 delay
int <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 paused
boolean paused state
- Source:
-
<static> setSizingType(type)
-
Set the sizing type for the paper-image elements
Parameters:
Name Type Description type
string The sizing type
- Source:
-
<static> setTimeLabel(label)
-
Set the time label
Parameters:
Name Type Description label
string current time
- Source:
Type Definitions
-
Template
-
Main auto-binding template
Type:
- Element
- Source:
Properties:
Name Type Argument Description _views
Array.<app.SSView> array of views
sizingType
string <nullable>
the way an image is rendered
aniType
int the animation type for photo transitions
screenWidth
int screen width in pixels
screenHeight
int screen height in pixels
paused
boolean true if slideshow paused
noPhotos
boolean true if there are no usable photos
noPhotosLabel
string label when no photos are usable
timeLabel
string current time label
set
function Polymer setter
push
function Polymer pusher