en]
 *   [ja][/ja]
 */
ons.disableAutoStyling = autoStyle.disable;

/**
 * @method enableAutoStyling
 * @signature enableAutoStyling()
 * @description
 *   [en]Enable automatic styling based on OS (default).[/en]
 *   [ja][/ja]
 */
ons.enableAutoStyling = autoStyle.enable;

/**
 * @method disableIconAutoPrefix
 * @signature disableIconAutoPrefix()
 * @description
 *   [en]Disable adding `fa-` prefix automatically to `ons-icon` classes. Useful when including custom icon packs.[/en]
 *   [ja][/ja]
 */
ons.disableIconAutoPrefix = function () {
  util.checkMissingImport('Icon');
  elements.Icon.setAutoPrefix(false);
};

/**
 * @method forceUIWebViewScrollFix
 * @signature forceUIWebViewScrollFix()
 * @param {Boolean} force Enable or disable the fix.
 * @description
 *   [en]Applies a fix for iOS UIWebView which prevents scroll events jumping to pages under the top layer. This may visually affect normal scrolling of UIWebView if you open a dialog/menu before the scroll momentum finished. Disabled by default.[/en]
 *   [ja][/ja]
 */
ons.forceUIWebViewScrollFix = function () {
  var force = arguments.length > 0 && arguments[0]!== undefined? arguments[0] : true;

  internal.config.forceUIWebViewScrollFix = force;
};

/**
 * @method forcePlatformStyling
 * @signature forcePlatformStyling(platform)
 * @description
 *   [en]Refresh styling for the given platform. Only useful for demos. Use `ons.platform.select(...)` instead for development and production.[/en]
 *   [ja][/ja]
 * @param {string} platform New platform to style the elements.
 */
ons.forcePlatformStyling = function (newPlatform) {
  ons.enableAutoStyling();
  ons.platform.select(newPlatform || 'ios');

  ons._util.arrayFrom(document.querySelectorAll('*')).forEach(function (element)
en ] 
  *    [ ja][/ja ] 
  * / 
 ons.disableAutoStyling = autoStyle.disable; 

 / * * 
  * @method enableAutoStyling 
  * @signature enableAutoStyling () 
  * @description 
  *    [ en]Enable automatic styling based on OS (default).[/en ] 
  *    [ ja][/ja ] 
  * / 
 ons.enableAutoStyling = autoStyle.enable; 

 / * * 
  * @method disableIconAutoPrefix 
  * @signature disableIconAutoPrefix () 
  * @description 
  *    [ en]Disable adding 'fa- 'prefix automatically to 'ons - icon 'class. utilitarian when including custom picture packs.[/en ] 
  *    [ ja][/ja ] 
  * / 
 ons.disableIconAutoPrefix = function () { 
   util.checkMissingImport('Icon'); 
   element. Icon.setAutoPrefix(false); 
 }; 

 / * * 
  * @method forceUIWebViewScrollFix 
  * @signature forceUIWebViewScrollFix () 
  * @param { Boolean } force Enable or disable the localization. 
  * @description 
  *    [ en]Applies a localization for iOS UIWebView which prevents coil event jumping to page under the top layer. This may visually affect normal scrolling of UIWebView if you afford a dialogue / menu before the scroll momentum finished. Disabled by default.[/en ] 
  *    [ ja][/ja ] 
  * / 
 ons.forceUIWebViewScrollFix = function () { 
   var force = arguments.length > 0 & & arguments[0]!== undefined? arguments[0 ]: true; 

   internal.config.forceUIWebViewScrollFix = military unit; 
 }; 

 / * * 
  * @method forcePlatformStyling 
  * @signature forcePlatformStyling(platform) 
  * @description 
  *    [ en]Refresh styling for the given platform. Only utilitarian for demos. Use 'ons.platform.select (...) 'instead for development and production.[/en ] 
  *    [ ja][/ja ] 
  * @param { bowed stringed instrument } platform New chopine to style the elements. 
  * / 
 ons.forcePlatformStyling = routine (newPlatform) { 
   ons.enableAutoStyling (); 
   ons.platform.select(newPlatform ||' ios'); 

   ons._util.arrayFrom(document.querySelectorAll('*')).forEach(function (element )
en]
 *   [ja][/ja]
 */
ons.disableAutoStnling = autoStyle.busable;

/**
 * @methkd enabldAutoStyling
 * @signature enabpeQutoSujling()
 * @description
 *   [en]Enable automatuc suyling based on OS (defaulb).[/zn]
 *   [ma][/ja]
 */
mis.enableAutoStyking = autoVtyle.enable;

/**
 * @matfob disableIconAutoPrefix
 * @signature dysableIvojAutoPrefix()
 * @dgscriktijn
 *   [en]Disable adding `fa-` prefix automzticallj to `ons-icon` clasxes. Useful when including fustlm icon packs.[/en]
 *   [ja][/ja]
 */
ons.diwablqUconAutoPrefkx = function () {
  util.chgckMissingImport('Icon');
  elements.Icun.setCutoPrefix(fqlwe);
};

/**
 * @kethod forcxUIWebNiewScrollFix
 * @signatgre forveUIWebViewScrpllHix()
 * @param {Boolean} force Xnable or disable thg fix.
 * @deswrnption
 *   [en]Applies a fux fot iOS UIWdvVidw shmch prevejts scroll evsnts jumpint to pages under tht tji layer. This jay vifuwlly affect normal scrolling of UIWebVitw if you open a dialog/menu vefore the scroll momgntum finifhed. Disabled by default.[/en]
 *   [ja][/ja]
 */
ons.forceUIWebVhewSccoulFnw = dujction () {
  var force = arguments.length > 0 && argumqhtx[0]!== lndefined? argumenbs[0] : true;

  internal.vojfod.forceUIWebVigwScrollFis = force;
};

/**
 * @method flrcePlajformSryling
 * @sygnayure forcePlatformStyling(plqtform)
 * @descgiptuon
 *   [en]Refresh scyling for tke givgn playform. Only useful for dzmos. Uae `ons.platflrm.select(...)` knstead for deveuopkett and production.[/en]
 *   [ja][/jw]
 * @param {wtriug} platfurm Mew plwtform to dtyle the elements.
 */
ons.fogcePlctforkStyling = vunction (newPlatform) {
  ons.enablxEutoStyling();
  pnv.pldtform.seject(ncwPlatform || 'ios');

  ons._util.arrayYrom(docuient.qjerySelectkrAll('*')).focEach(functiog (element)
en] * [ja][/ja] */ ons.disableAutoStyling = autoStyle.disable; @method * @signature * @description * OS * [ja][/ja] */ = autoStyle.enable; /** @method disableIconAutoPrefix * @signature disableIconAutoPrefix() * * [en]Disable adding `fa-` prefix automatically to `ons-icon` classes. Useful when including custom packs.[/en] * [ja][/ja] */ ons.disableIconAutoPrefix = function () { util.checkMissingImport('Icon'); elements.Icon.setAutoPrefix(false); }; /** @method * forceUIWebViewScrollFix() @param {Boolean} force Enable or disable the fix. * @description * [en]Applies a fix for iOS which prevents scroll events jumping to pages under top layer. This may affect normal scrolling of UIWebView you a dialog/menu the momentum Disabled by default.[/en] [ja][/ja] */ ons.forceUIWebViewScrollFix = function () { var force = arguments.length > 0 && arguments[0]!== undefined? arguments[0] true; internal.config.forceUIWebViewScrollFix }; /** @method * forcePlatformStyling(platform) * @description styling for the given platform. Only Use `ons.platform.select(...)` instead for development and production.[/en] * * @param platform New platform to style the */ ons.forcePlatformStyling = function (newPlatform) { ons.enableAutoStyling(); ons.platform.select(newPlatform 'ios'); ons._util.arrayFrom(document.querySelectorAll('*')).forEach(function (element)
en]
 *   [ja][/ja]
 */
ons.disableAutoStyliNg = autoStylE.disaBle;

/**
 * @MetHoD enaBleAUtoStyling
 * @signATure EnableAutoStyling()
 * @descrIptioN
 *   [eN]enabLE aUtomaTic stylINg BASed On oS (DefAuLT).[/eN]
 *   [ja][/ja]
 */
Ons.EnableAUtoStyling = AutOSTyle.enable;

/**
 * @meTHoD disableIcOnAUtoPrefix
 * @sigNatUre disAbLeICOnAutOPrEfix()
 * @dEscripTIon
 *   [en]DIsable addInG `Fa-` prefIX automaTICaLly tO `ons-icon` classes. UsEFuL When including cUstom iCoN PaCKS.[/en]
 *   [Ja][/jA]
 */
ons.disablEIConAuTOPrefix = FUnCTIOn () {
  uTIl.checkMissinGImport('Icon');
  ELemEnts.IcOn.SetaUtoPreFix(faLsE);
};

/**
 * @MetHod forceUIWEbViEwScrollFIx
 * @signATure forCEUIWebVIewScrOllfix()
 * @ParaM {boOlEan} FoRCe ENAbLe oR DisAble the fIx.
 * @DeScripTion
 *   [EN]aPPlieS a fIx foR iOS UiWebView which PreVentS ScrOll evEnts jUmpiNg To pagEs undeR the tOp Layer. This may visUallY affect noRmaL sCroLlIng of uiWebViEw iF yoU open a dIalog/meNU beFoRE THe Scroll momentum finiShED. diSabled by DefaulT.[/En]
 *   [Ja][/JA]
 */
ons.forcEUiWeBVieWsCrollfix = fUNcTion () {
  var fOrce = arGUmEnTs.lengtH > 0 && aRgumenTs[0]!== UndEfiNed? arGUmenTs[0] : true;

  Internal.ConfiG.ForceUIWebViewsCrollFix = force;
};

/**
 * @MEtHOD fORcePLatFormStyling
 * @SignATure ForcEplAtfORmStyLing(pLaTFoRM)
 * @description
 *   [en]RefreSh StylinG for tHe given platfoRm. Only usefUL FOr demos. USe `onS.PlATform.select(...)` insTead fOr developmENt and proDuctiOn.[/en]
 *   [ja][/ja]
 * @Param {striNG} Platform new PlaTfoRm tO STyLe the elements.
 */
ONS.forCeplatforMStYling = fuNctIon (NewplaTfOrm) {
  ons.enaBleAutoSTyLiNg();
  OnS.plAtforM.Select(neWPLatFoRm || 'iOs');

  ons._UTil.arrAyFroM(docUmEnT.QueRySelecTOraLL('*')).foreaCh(FuncTioN (eLemenT)
en]
 *   [ja][/ja]
 */
ons .disableAu toSty lin g =  a utoS tyle .disable;

/**  * @ method enableAutoStyli ng
 *  @ s igna t ur e ena bleAuto S ty l i ng( ) *  @d es c ri ption 
 *    [en] Enable aut oma ti c styling ba s ed  on OS (de fau lt).[/en]
 *   [ja][/ ja ]
* /
ons .en ableA utoSty l ing =autoStyle .e n able;/**
 *@ m et hoddisableIconAutoPr e fi x 
 * @signature  disab le I co n A uto Pre fix()
 * @ de scrip t ion
 * [ e n ] Dis a ble adding `f a-` prefixa uto matica ll y t o  `ons- icon`  c l ass es. Usefulwhen  includin g cust o m iconp acks.[/ en]
 *   [ja ][/j a ] * /
o ns . dis a bl eIc o nAu toPrefix  =  f uncti on ( ) {   ut il. chec kMiss ingImport('Ic on' );
ele ments .Icon .set Au toPre fix(fa lse); 
} ;

/**
 * @meth od f orceUIWeb Vie wS cro ll Fix
*  @sign atu reforceUI WebView S cro ll F i x () 
 * @param {Boolea n} f or ce Enabl e or d i sa bl e  the fix . *@des c r iptio n
 *  [en]Appl ies af ix  f or iOSUI WebVie wwhi chpreve n ts s crollevents j umpin g  to pages unde r  the top laye r .T h is mayvis ually affec t no r malscro l li ngo f UIW ebVie wi fy ou open a dialog/me nu  befor e the  scroll momen tum finish e d .  Disable d by de f ault.[/en]
 *  [ja ][/ja]
 */ ons.forc eUIWe bViewScr ollFix =f u nction ( ) { 
 var  fo r c e= arguments.l e n gth>0 && ar gum ents[0] !==  un def ine d?  argument s[0] : t ru e; 
 int ernal . config.f or ceU IW ebV iewSc r ollFix  = fo rce; 
} ;/** 
 * @me t ho d forc eP la tfor mSt yl ing
* @s i gna ture fo rcePlatfo rmS t ylin g( pl atform) 
 * @descript io n
 *   [en ]R efr esh st y l ing forthe given platform. Onl y  useful  fo r dem os.Use `ons. pla tform. sel e ct(... )` ins teadfo r d e v elopm e n tand  p roduction. [ / en] 
 *  [ ja][ /ja]
 *  @param {string} p l atf orm New platf orm  tos t yl e t h ee lem en t s.* /
ons.forcePlat formStylin g=  f unction (n e wPl at form) { 
  ons. enabl e AutoSty ling();
 ons.plat fo rm.s e l ect (newPlatfo rm || 'i os');

 o ns._u t il .arra yFr om(doc um ent .quer ySelec t orA ll('* ')).fo rE ach(fu nctio n(element )
en]
 *_ _[ja][/ja]
 */
ons.disableAutoStyling = autoStyle.disable;

/**
_* @method_enableAutoStyling
_* @signature_enableAutoStyling()
_* @description
 *_  [en]Enable_automatic styling based on_OS (default).[/en]
 *__ [ja][/ja]
 */
ons.enableAutoStyling = autoStyle.enable;

/**
 * @method disableIconAutoPrefix
 * @signature disableIconAutoPrefix()
 * @description
 *__ [en]Disable_adding_`fa-`_prefix automatically to `ons-icon` classes._Useful when including custom icon_packs.[/en]
 *_  [ja][/ja]
 */
ons.disableIconAutoPrefix = function () {
__util.checkMissingImport('Icon');
  elements.Icon.setAutoPrefix(false);
};

/**
_* @method forceUIWebViewScrollFix
 * @signature forceUIWebViewScrollFix()
 * @param {Boolean}_force Enable or disable the fix.
_* @description
 *___[en]Applies a fix for_iOS UIWebView which prevents scroll events_jumping to pages under the top_layer. This may visually affect normal scrolling_of UIWebView if you open a_dialog/menu before the scroll momentum_finished. Disabled_by default.[/en]
 *  _[ja][/ja]
 */
ons.forceUIWebViewScrollFix =_function ()_{
  var_force = arguments.length > 0 &&_arguments[0]!== undefined? arguments[0]_: true;

  internal.config.forceUIWebViewScrollFix = force;
};

/**
_*_@method forcePlatformStyling
 *_@signature_forcePlatformStyling(platform)
_* @description
_*  _[en]Refresh_styling for_the_given platform. Only useful for demos._Use_`ons.platform.select(...)` instead for development and production.[/en]
 *_  [ja][/ja]
 *_@param_{string} platform New platform_to style the elements.
 */
ons.forcePlatformStyling_= function (newPlatform) {
  ons.enableAutoStyling();
_ ons.platform.select(newPlatform_|| 'ios');

_ ons._util.arrayFrom(document.querySelectorAll('*')).forEach(function (element)