UNPKG

@usal/angular

Version:

Ultimate Scroll Animation Library - Lightweight, powerful, wonderfully simple ✨ | Angular Package

36 lines (33 loc) 1.54 kB
import * as __usal from '@usal/angular/core'; import { USALConfig } from '@usal/angular/core'; import * as i0 from '@angular/core'; import { OnInit, OnChanges, ElementRef } from '@angular/core'; declare class USALService { config(configOptions?: USALConfig): USALConfig | void; destroy(): Promise<void>; restart(): Promise<__usal.USALInstance>; static ɵfac: i0.ɵɵFactoryDeclaration<USALService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<USALService>; } declare class USALDirective implements OnInit, OnChanges { private el; usalValue: string; dataUsalValue: string; constructor(el: ElementRef); ngOnInit(): void; ngOnChanges(): void; private updateAttribute; static ɵfac: i0.ɵɵFactoryDeclaration<USALDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<USALDirective, "[usal], [data-usal]", never, { "usalValue": { "alias": "usal"; "required": false; }; "dataUsalValue": { "alias": "data-usal"; "required": false; }; }, {}, never, never, false, never>; } declare class USALModule { static ɵfac: i0.ɵɵFactoryDeclaration<USALModule, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<USALModule, [typeof USALDirective], never, [typeof USALDirective]>; static ɵinj: i0.ɵɵInjectorDeclaration<USALModule>; } declare const useUSAL: () => { config: (configOptions?: USALConfig) => USALConfig | void; destroy: () => Promise<void>; restart: () => Promise<__usal.USALInstance>; }; export { USALDirective, USALModule, USALService, useUSAL };