mirror of
				https://github.com/flarum/core.git
				synced 2025-10-27 13:40:24 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			619 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			619 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| /**
 | |
|  * The `AffixedSidebar` component uses Bootstrap's "affix" plugin to keep a
 | |
|  * sidebar navigation at the top of the viewport when scrolling.
 | |
|  *
 | |
|  * ### Children
 | |
|  *
 | |
|  * The component must wrap an element that itself wraps an <ul> element, which
 | |
|  * will be "affixed".
 | |
|  *
 | |
|  * @see https://getbootstrap.com/docs/3.4/javascript/#affix
 | |
|  */
 | |
| export default class AffixedSidebar extends Component<import("../../common/Component").ComponentAttrs, undefined> {
 | |
|     constructor();
 | |
|     boundOnresize: (() => void) | undefined;
 | |
|     onresize(): void;
 | |
|     bottom: number | undefined;
 | |
| }
 | |
| import Component from "../../common/Component";
 |