design-angular-kit
Version:
Un toolkit Angular conforme alle linee guida di design per i servizi web della PA
51 lines (50 loc) • 1.67 kB
TypeScript
import { AfterViewInit } from '@angular/core';
import { ItAbstractComponent } from '../../../abstracts/abstract.component';
import * as i0 from "@angular/core";
import * as i1 from "../../../utils/coercion";
export declare class ItBackToTopComponent extends ItAbstractComponent implements AfterViewInit {
/**
* Aria label for the component
* @default 'Torna su'
*/
ariaLabel: string;
/**
* Show small button
* @default false
*/
small?: boolean;
/**
* Show shadow
* @default false
*/
shadow?: boolean;
/**
* Button usable button on a dark background
* @default false
*/
dark?: boolean;
private backToTop?;
private backToTopElement?;
ngAfterViewInit(): void;
/**
* Show button
*/
show(): void;
/**
* Hide the button
*/
hide(): void;
/**
* Activates the scroll animation towards the Y coordinate indicated by the positionTop option
*/
scrollToTop(): void;
/**
* Eliminate component features
*/
dispose(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ItBackToTopComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ItBackToTopComponent, "it-back-to-top", ["itBackToTop"], { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "small": { "alias": "small"; "required": false; }; "shadow": { "alias": "shadow"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; }, {}, never, never, true, never>;
static ngAcceptInputType_small: i1.BooleanInput;
static ngAcceptInputType_shadow: i1.BooleanInput;
static ngAcceptInputType_dark: i1.BooleanInput;
}