mirror of
				https://github.com/ionic-team/ionic-framework.git
				synced 2025-11-04 21:30:00 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			462 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			462 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
 | 
						|
(function() {
 | 
						|
 | 
						|
  if (window.location.search.indexOf('rtl=true') > -1) {
 | 
						|
    document.documentElement.setAttribute('dir', 'rtl');
 | 
						|
  }
 | 
						|
 | 
						|
  if (window.location.search.indexOf('ionic:_testing=true') > -1) {
 | 
						|
    const style = document.createElement('style');
 | 
						|
    style.innerHTML = `
 | 
						|
* {
 | 
						|
  caret-color: transparent !important;
 | 
						|
}`;
 | 
						|
    document.head.appendChild(style);
 | 
						|
  }
 | 
						|
 | 
						|
  window.Ionic = window.Ionic || {};
 | 
						|
  window.Ionic.config = window.Ionic.config || {};
 | 
						|
 | 
						|
})(); |