ngx-fullpage
Version:
Angular fullpage scrolling
164 lines (163 loc) • 6.6 kB
TypeScript
/**
* @author Meiblorn (Vadim Fedorenko) <meiblorn@gmail.com | admin@meiblorn.com> on 12/05/16.
*/
import { AfterViewInit, ElementRef, OnInit } from '@angular/core';
import { MnFullpageOptions } from './mnFullpage-options.class';
export declare class MnFullpageDirective implements OnInit, AfterViewInit {
/**
* Prefix for directive-relative properties
*/
private static propertyPrefix;
/**
* Directive options reference
*/
options: MnFullpageOptions;
/**
* Index signature
*/
[key: string]: any;
/**
* ---------------------------------------------------------------------------
* | Licence |
* ---------------------------------------------------------------------------
*
* @see MnFullpageOptions for documentation
*/
mnFullpageLicenseKey: string;
/**
* ---------------------------------------------------------------------------
* | Navigation |
* ---------------------------------------------------------------------------
*
* @see MnFullpageOptions for documentation
*/
mnFullpageMenu: string;
mnFullpageLockAnchors: boolean;
mnFullpageAnchors: Array<string>;
mnFullpageNavigation: boolean;
mnFullpageNavigationPosition: string;
mnFullpageNavigationTooltips: Array<string>;
mnFullpageShowActiveTooltip: boolean;
mnFullpageSlidesNavigation: boolean;
mnFullpageSlidesNavPosition: string;
/**
* ---------------------------------------------------------------------------
* | Scrolling |
* ---------------------------------------------------------------------------
*
* @see MnFullpageOptions for documentation
*/
mnFullpageCss3: boolean;
mnFullpageScrollingSpeed: number;
mnFullpageAutoScrolling: boolean;
mnFullpageFitToSection: boolean;
mnFullpageFitToSectionDelay: number;
mnFullpageScrollBar: boolean;
mnFullpageEasing: string;
mnFullpageEasingcss3: string;
mnFullpageLoopBottom: boolean;
mnFullpageLoopTop: boolean;
mnFullpageLoopHorizontal: boolean;
mnFullpageContinuousVertical: boolean;
mnFullpageContinuousHorizontal: boolean;
mnFullpageInterlockedSlides: boolean;
mnFullpageDragAndMove: boolean;
mnFullpageOffsetSections: boolean;
mnFullpageResetSliders: boolean;
mnFullpageFadingEffect: boolean;
mnFullpageNormalScrollElements: string;
mnFullpageScrollOverflow: boolean;
mnFullpageScrollOverflowReset: boolean;
mnFullpageScrollOverflowOptions: object;
mnFullpageTouchSensitivity: number;
mnFullpageNormalScrollElementTouchThreshold: number;
mnFullpageBigSectionsDestination: object;
/**
* ---------------------------------------------------------------------------
* | Accessibility |
* ---------------------------------------------------------------------------
*
* @see MnFullpageOptions for documentation
*/
mnFullpageKeyboardScrolling: boolean;
mnFullpageAnimateAnchor: boolean;
mnFullpageRecordHistory: boolean;
/**
* ---------------------------------------------------------------------------
* | Design |
* ---------------------------------------------------------------------------
*
* @see MnFullpageOptions for documentation
*/
mnFullpageControlArrows: boolean;
mnFullpageVerticalCentered: boolean;
mnFullpageResize: boolean;
mnFullpageSectionsColor: Array<string>;
mnFullpagePaddingTop: string;
mnFullpagePaddingBottom: string;
mnFullpageFixedElements: string;
mnFullpageResponsiveWidth: number;
mnFullpageResponsiveHeight: number;
mnFullpageResponsiveSlides: boolean;
mnFullpageParallax: boolean;
mnFullpageParallaxOptions: object;
/**
* ---------------------------------------------------------------------------
* | Custom selectors |
* ---------------------------------------------------------------------------
*
* @see MnFullpageOptions for documentation
*/
mnFullpageSectionSelector: string;
mnFullpageSlideSelector: string;
/**
* ---------------------------------------------------------------------------
* | Other |
* ---------------------------------------------------------------------------
*
* @see MnFullpageOptions for documentation
*/
mnFullpageLazyLoading: boolean;
/**
* ---------------------------------------------------------------------------
* | Callbacks |
* ---------------------------------------------------------------------------
*
* @see MnFullpageOptions for documentation
*/
mnFullpageAfterLoad: (origin: object, destination: object, direction: string) => void;
mnFullpageOnLeave: (origin: object, destination: object, direction: string) => void;
mnFullpageAfterRender: () => void;
mnFullpageAfterResize: (width: number, height: number) => void;
mnFullpageAfterResponsive: (isResponsive: boolean) => void;
mnFullpageAfterSlideLoad: (section: object, origin: object, destination: object, direction: string) => void;
mnFullpageOnSlideLeave: (section: object, origin: object, destination: object, direction: string) => void;
/**
* ---------------------------------------------------------------------------
* | Class properties |
* ---------------------------------------------------------------------------
*/
private _el;
/**
* Static method for option name retrieving
*
* @param property this class property name
* @returns FullpageOption class option (property) name
*/
private static extractName;
/**
* Default public constructor
*
* @param options fullpage options
* @param el element where directive is placed on
*/
constructor(el: ElementRef, options?: MnFullpageOptions);
/**
* Perform actions on init
*/
ngOnInit(): void;
/**
* Perform actions on view init
*/
ngAfterViewInit(): void;
}