UIZE JavaScript Framework

MODULES Uize.Widget.ImageWipe.Themes

1. Introduction

The Uize.Widget.ImageWipe.Themes module defines themes for the Uize.Widget.ImageWipe widget class.

DEVELOPERS: Chris van Rensburg

1.1. Using the Themes

The Uize.Widget.ImageWipe.Themes module returns an object, being a lookup of theme names to theme settings objects.

Each property of the themes lookup object is an effect theme, where the name of the property is the effect theme name, and where the value is an object containing values for various state properties of the Uize.Widget.ImageWipe class.

Consider the value of the facetedFade theme...

{
  allToFull : 50,
  duration : 3000,
  dissolve : true,
  divisionsX : 4,
  divisionsY : 4,
  firstPaneSizeX : 300,
  firstPaneSizeY : 0,
  alignX : {start:0,end:1,keyedTo:'pane',wraps:5,wrapMode:'triangle'},
  alignY : {start:0,end:1,keyedTo:'pane',wraps:7,wrapMode:'triangle'},
  paneSeedSizeX : 50,
  paneSeedSizeY : 100,
  paneSeedContext : 100,
  paneProgressDelay : 10,
  paneOrderScheme : 'jumbled'
}

To use this theme, simply use it to set the state properties of the Uize.Widget.ImageWipe instance using the set instance method, as follows...

var themes = Uize.Widget.ImageWipe.Themes ();
myImageWipe.set (themes.facetedFade);

1.2. Examples

The following example pages are good showcases for the Uize.Widget.ImageWipe.Themes module...

Slideshow With Wipes - See an example of a JavaScript slideshow widget with stunning image wipe animation effects that you didn't believe were possible with just JavaScript.
Uize.Widget.ImageWipe - See stunning image wipe animation effects you didn't believe possible with JavaScript. Choose from dozens of themes. Tweak values to make your own.

SEARCH FOR EXAMPLES

Use the link below to search for example pages on the UIZE Web site that reference the Uize.Widget.ImageWipe.Themes module...

SEARCH

1.3. Implementation Info

The Uize.Widget.ImageWipe.Themes module defines the Uize.Widget.ImageWipe.Themes object under the Uize.Widget.ImageWipe namespace.

1.3.1. Features Introduced in This Module

The features listed in this section have been introduced in this module.

STATIC PROPERTIES

Uize.Widget.ImageWipe.Themes.moduleName | Uize.Widget.ImageWipe.Themes.pathToResources

1.3.2. Features Overridden in This Module

No features have been overridden in this module.

1.3.3. Features Inherited From Other Modules

This module has no inherited features.

1.3.4. Modules Directly Under This Namespace

There are no modules directly under this namespace.

1.3.5. Unit Tests

There is no dedicated unit tests module for the Uize.Widget.ImageWipe.Themes module.

2. Themes

2.1. blindsVerticalFromOutside

Vertical blinds that start out from the left and right edges and close progressively towards the center. All blinds from left to right are the same width.

2.2. blindsVerticalFromInside

Vertical blinds that start out from the center and close progressively towards the left and right edges. All blinds from left to right are the same width.

2.3. blindsVerticalFromLeft

Vertical blinds that start out from the left edge and close progressively towards the right edge. Blinds start out narrow from the left edge and grow in width towards the right edge.

2.4. blindsVerticalFromRight

Vertical blinds that start out from the right edge and close progressively towards the left edge. Blinds start out wide from the right edge and shrink in width towards the left edge.

2.5. blindsVerticalFromRightEven

Vertical blinds that start out from the right edge and close progressively towards the left edge. All blinds from left to right are the same width, but they reveal from right-to-left at the right edge and progressively shift over - from right to left - so that they reveal from left-to-right at the left edge.

2.6. blindsVerticalBackSlash

Vertical blinds that originate along a diagonal backslash arrangment, where the blind at the left edge reveals from the top and the blind at the right edge reveals from the bottom, and blinds inbetween originate along a diagonal line that spans from top left to bottom right. All blinds from left to right are the same width.

2.7. blindsVerticalForwardSlash

Vertical blinds that originate along a diagonal forward slash arrangment, where the blind at the left edge reveals from the bottom and the blind at the right edge reveals from the top, and blinds inbetween originate along a diagonal line that spans from bottom left to top right. All blinds from left to right are the same width.

2.8. blindsVerticalArrowLeft

Vertical blinds that originate from the right edge in an arrow formation pointing to the left and that close progressively towards the left edge. All blinds from left to right are the same width.

2.9. blindsVerticalArrowRight

Vertical blinds that originate from the left edge in an arrow formation pointing to the right and that close progressively towards the right edge. All blinds from left to right are the same width.

2.10. blindsVerticalZoom

Vertical blinds that zoom out from the center - growing in height as they travel - to stack up against the left and right sides at the same time. All blinds from left to right are the same width.

2.11. blindsVerticalGrowFromCenter

A formation of vertical blinds that grows out from the center towards all four edges, growing to become a solid rectangle. All blinds from left to right are the same width.

2.12. blindsHorizontalFromOutside

Horizontal blinds that start out from the top and bottom edges and close progressively towards the center. All blinds from top to bottom are the same height.

2.13. blindsHorizontalFromInside

Horizontal blinds that start out from the center and close progressively towards the top and bottom edges. All blinds from top to bottom are the same height.

2.14. blindsHorizontalFromTop

Horizontal blinds that start out from the top edge and close progressively towards the bottom edge. All blinds from top to bottom are the same height, but they reveal from top-to-bottom at the top edge and progressively shift over - from top to bottom - so that they reveal from bottom-to-top at the bottom edge.

2.15. blindsHorizontalFromBottom

Horizontal blinds that start out from the bottom edge and close progressively towards the top edge. All blinds from bottom to top are the same height, but they reveal from bottom-to-top at the bottom edge and progressively shift over - from bottom to top - so that they reveal from top-to-bottom at the top edge.

2.16. blindsHorizontalTornado

Horizontal blinds that start out from the top edge and close progressively towards the bottom edge. Blinds reveal in a tornado like configuration.

2.17. blindsHorizontalZoom

Horizontal blinds that zoom out from the center - growing in width as they travel - to stack up against the top and bottom sides at the same time. All blinds from top to bottom are the same height.

2.18. blindsHorizontalGrowFromCenter

A formation of horizontal blinds that grows out from the center towards all four edges, growing to become a solid rectangle. All blinds from top to bottom are the same height.

2.19. verticalStackingAgainstLeft

Vertical rectangles that stack in a frantic manner, shooting out from the right side and stacking up progressively against the left side and filling in towards the right side. Stacking rectangles are initially narrow, but get progressively larger as the stacking progresses, making the effect appear to slow down towards the end.

2.20. verticalStackingAgainstRight

Vertical rectangles that stack in a frantic manner, shooting out from the left side and stacking up progressively against the right side and filling in towards the left side. Stacking rectangles are initially narrow, but get progressively larger as the stacking progresses, making the effect appear to slow down towards the end.

2.21. trapezoidClockwise

A trapezoid that grows out from a horizontal sliver in the center and rotates clockwise as it grows to eventually occupy the entire wipe port.

2.22. trapezoidCounterClockwise

A trapezoid that grows out from a vertical sliver in the center and rotates counter-clockwise as it grows to eventually occupy the entire wipe port.

2.23. openingV

A "V" shape that grows out from a vertical sliver in the center and spreads open to the left and the right as it grows to eventually occupy the entire wipe port.

2.24. tornado

A tornado like shape that enters from the top left and grows down towards the bottom right, eventually expanding to occupy the entire wipe port.

2.25. wBlinds

Vertical blinds that first appear in a configuration roughly resembling the letter "W", that then grow in height and width until they coalesce together to occupy the entire wipe port.

2.26. diamondVertical

Vertical blinds that originate in the center in a diamond configuration, that then grow in height and width until they coalesce together to occupy the entire wipe port.

2.27. diamondHorizontal

Horizontal blinds that originate in the center in a diamond configuration, that then grow in width and height until they coalesce together to occupy the entire wipe port.

2.28. matrix

A four-by-four matrix of equal sized panes that all grow in width and height together at the same rate until they coalesce together to occupy the entire wipe port.

2.29. matrixZoomBottomRight

Panes that zoom out, one by one, from the bottom right corner to take their place at their final size in a matrix of equal sized panes that coalesce together to occupy the entire wipe port.

2.30. matrixZoomTopLeft

Panes that zoom out, one by one, from the top left corner to take their place at their final size in a matrix of equal sized panes that coalesce together to occupy the entire wipe port.

2.31. matrixZoomCenter

Panes that zoom out, one by one, from the center to take their place at their final size in a matrix of equal sized panes that coalesce together to occupy the entire wipe port. Panes alternate between zooming out in the direction of the top left and zooming out in the direction of the bottom right.

2.32. matrixFromOutside

A four-by-four matrix of equal sized panes that grow in width and height until they coalesce together to occupy the entire wipe port, starting with the panes at the top left and top right and progressing towards the panes in the center.

2.33. matrixJumbled

A four-by-four matrix of equal sized panes that start out as thin horizontal lines and grow in height until they coalesce together to occupy the entire wipe port, with the growth of the panes randomly staggered in time so not all the panes are growing at the same time or rate.

2.34. matrixDrifting

A series of panes that originate at the same time at randomly positioned points within the wipe port and that migrate and grow at the same rate, to take their place at their final size in a matrix of equal sized panes that coalesce together to occupy the entire wipe port. Because the origin of each pane is random, panes can cross paths as they migrate to their final position.

2.35. matrixFromTopLeftFade

A four-by-four matrix of equal sized panes that don't move in position but that progressively fade in over time, starting from the top left pane and progressively fading in from left to right and top to bottom, so that the bottom right pane is the last to completely fade in.

2.36. matrixFromBottomRightFade

A four-by-four matrix of equal sized panes that don't move in position but that progressively fade in over time, starting from the bottom right pane and progressively fading in from right to left and bottom to top, so that the top left pane is the last to completely fade in.

2.37. matrixFromCornersFade

A four-by-four matrix of equal sized panes that don't move in position but that progressively fade in over time, starting from the top left and bottom right panes and progressively fading in from both directions towards the center.

2.38. matrixTartanFacetedFade

A four-by-four matrix of equal sized panes that don't move in position but that progressively fade in and grow in size over time, until every pane eventually is completely opaque and occupies the entire wipe port, with a "tartan" effect being produced as their boundaries cross.

2.39. backSlash

A backslash shape that cuts the wipe port diagonally from top left to bottom right, and that grows in size to eventually occupy the entire wipe port.

2.40. forwardSlash

A forward slash shape that cuts the wipe port diagonally from top right to bottom left, and that grows in size to eventually occupy the entire wipe port.

2.41. backSlashWithCurl

A backslash shape that cuts the wipe port diagonally from top left to bottom right, and that grows in size to eventually occupy the entire wipe port, growing at a non-linear rate so that the top left side of the wipe port is revealed more rapidly than the bottom right, producing a page curl like effect.

2.42. twoBackSlashesCoalesce

Two vertical lines that originate centered in the top and bottom halves of the wipe port, and that grow in size and rotate counter-clockwise at the same rate until they eventually coalesce together to occupy the entire wipe port.

2.43. forwardSlashWithCurl

A forward slash shape that cuts the wipe port diagonally from top right to bottom left, and that grows in size to eventually occupy the entire wipe port, growing at a non-linear rate so that the top right side of the wipe port is revealed more rapidly than the bottom left, producing a page curl like effect.

2.44. fourSlashesCounterClockwise

Four small forward slashes that originate in a diagonal formation from bottom left to top right, and that rotate counter-clockwise and grow in size at the same rate until they eventually coalesce together to occupy the entire wipe port.

2.45. verticalFadeFromTop

A series of equal sized horizontal panes that are stacked vertically and that don't move in position but that progressively fade in over time, starting from the top pane and progressively fading in from top to bottom, so that the bottom pane is the last to completely fade in.

2.46. verticalFadeFromBottom

A series of equal sized horizontal panes that are stacked vertically and that don't move in position but that progressively fade in over time, starting from the bottom pane and progressively fading in from bottom to top, so that the top pane is the last to completely fade in.

2.47. verticalFadeFromInside

A series of equal sized horizontal panes that are stacked vertically and that don't move in position but that progressively fade in over time, starting from the center / inside panes and progressively fading in towards the top and bottom simultaneously, so that the outside (i.e. top and bottom) panes are the last to completely fade in.

2.48. verticalFadeFromOutside

A series of equal sized horizontal panes that are stacked vertically and that don't move in position but that progressively fade in over time, starting from the outside (i.e. top and bottom) panes and progressively fading in towards the center from both directions simultaneously, so that the center / inside panes are the last to completely fade in.

2.49. horizontalFadeFromLeft

A series of equal sized vertical panes that are stacked horizontally and that don't move in position but that progressively fade in over time, starting from the left pane and progressively fading in from left to right, so that the right pane is the last to completely fade in.

2.50. horizontalFadeFromRight

A series of equal sized vertical panes that are stacked horizontally and that don't move in position but that progressively fade in over time, starting from the right pane and progressively fading in from right to left, so that the left pane is the last to completely fade in.

2.51. horizontalFadeFromInside

A series of equal sized vertical panes that are stacked horizontally and that don't move in position but that progressively fade in over time, starting from the center / inside panes and progressively fading in towards the left and right simultaneously, so that the outside (i.e. left and right) panes are the last to completely fade in.

2.52. horizontalFadeFromOutside

A series of equal sized vertical panes that are stacked horizontally and that don't move in position but that progressively fade in over time, starting from the outside (i.e. left and right) panes and progressively fading in towards the center from both directions simultaneously, so that the center / inside panes are the last to completely fade in.

2.53. horizontalRibbonFadeFromInside

A series of horizontal panes that are stacked vertically and that fade in while growing in width from random points, starting from the center / inside panes and progressively fading and growing in towards the top and bottom simultaneously, so that the outside (i.e. top and bottom) panes are the last to completely fade and grow in.

2.54. verticalRibbonFadeFromInside

A series of vertical panes that are stacked horizontally and that fade in while growing in height from random points, starting from the center / inside panes and progressively fading and growing in towards the left and right simultaneously, so that the outside (i.e. left and right) panes are the last to completely fade and grow in.

2.55. facetedFade

A series of randomly sized and positioned panes that progressively fade in and grow in size over time, until every pane eventually is completely opaque and occupies the entire wipe port, producing a faceted glass panes wipe effect as they grow in random directions and their boundaries cross.

3. Static Properties

3.1. Uize.Widget.ImageWipe.Themes.moduleName

IMPLEMENTATION INFO

this feature was introduced in this module

3.2. Uize.Widget.ImageWipe.Themes.pathToResources

IMPLEMENTATION INFO

this feature was introduced in this module