document data-prevent-swipe #951
				
					
				
			This commit is contained in:
		
							parent
							
								
									1116d99e87
								
							
						
					
					
						commit
						a151df54be
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -316,6 +316,13 @@ Reveal.configure({
 | 
			
		|||
});
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Touch Navigation
 | 
			
		||||
 | 
			
		||||
You can swipe to navigate through a presentation on any touch-enabled device. Horizontal swipes change between horizontal slides, vertical swipes change between vertical slides. If you wish to disable this you can set the `touch` config option to false when initializing reveal.js.
 | 
			
		||||
 | 
			
		||||
If there's some part of your content that needs to remain accessible to touch events you'll need to highlight this by adding a `data-prevent-swipe` attribute to the element. One common example where this is useful is elements that need to be scrolled.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
### Lazy Loading
 | 
			
		||||
 | 
			
		||||
When working on presentation with a lot of media or iframe content it's important to load lazily. Lazy loading means that reveal.js will only load content for the few slides nearest to the current slide. The number of slides that are preloaded is determined by the `viewDistance` configuration option.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue