Class mobilize.options
Options and their default values.
These default values can be overriden by extender getExtendedOptions() or user supplied parameters to init().
Defined in: mobilize.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Field Attributes | Field Name and Description |
---|---|
<static> |
mobilize.options.inlineStyleMaxCheckLength
How many characters <style> inner text may contain it to be run through inline CSS importer check
|
<static> |
mobilize.options.templateCacheVersion
You need to set this value in order to
cache mobile page template in localStorage.
|
<static> |
mobilize.options.whitelistScriptSrc
<script src=""> whitelist for filtering web specific
elements from <head>
If src attribute has substring match of any list element, the tag is left to mobile version also. |
<static> |
mobilize.options.whitelistStyleImport
<style type="text/css> @import whitelist for filtering web specific
elements from <head>
If CSS @import content has substring match of any list element, the tag is left to mobile version also. |
Every time template is upgraded this values must be changed within your construction script tag.
If value is null caching is not used.
- Default Value:
- null
If src attribute has substring match of any list element, the tag is left to mobile version also.
- Default Value:
- allow scripts which have mobilize in their name.
If CSS @import content has substring match of any list element, the tag is left to mobile version also.
- Default Value:
- empty list