/*______________ | ______ | U I Z E J A V A S C R I P T F R A M E W O R K | / / | --------------------------------------------------- | / O / | MODULE : Uize.Widget.ImageWipe.ThemeValuePack Class Extension | / / / | | / / / /| | ONLINE : http://uize.com | /____/ /__/_| | COPYRIGHT : (c)2015-2016 UIZE | /___ | LICENSE : Available under MIT License or GNU General Public License |_______________| http://uize.com/license.html */ /* Module Meta Data type: Class importance: 1 codeCompleteness: 100 docCompleteness: 100 */ /*? Introduction The =Uize.Widget.ImageWipe.ThemeValuePack= module provides a way to convert between a theme oject and a theme value pack for the =Uize.Widget.ImageWipe= widget. *DEVELOPERS:* `Chris van Rensburg` */ Uize.module ({ name:'Uize.Widget.ImageWipe.ThemeValuePack', required:'Uize.Data.ValuePack', builder:function () { 'use strict'; var /*** General Variables ***/ _valuePack = Uize.Data.ValuePack ({ archetype:{ allToFull:50, duration:3000, dissolve:true, divisionsX:4, divisionsY:4, firstPaneSizeX:300, firstPaneSizeY:0, alignX:0, alignY:0, paneSeedSizeX:50, paneSeedSizeY:100, paneSeedContext:100, paneProgressDelay:10, paneOrderScheme:'jumbled' } }) ; return Uize.package ({ to:function (_toEncode) { return _valuePack.pack (_toEncode); }, from:function (_toDecode) { return _valuePack.unpack (_toDecode); } }); } });