API reference for SfMoveInViewportDirective

import {SfCommonModule} from "@progress/sitefinity-component-framework";


attribute: sfMoveInViewport description: Returns the element in the boundaries of the viewport

Implements

  • AfterViewInit

Constructors

Properties

bottomTolerance: number = 0

Sets the minimal distance from the bottom of the element to the bottom of the viewport

handleMoveIndependently: boolean

Whether to set the css position, which returns the element into the viewport, Or handle this outside of the directive

inheritParentWidth: boolean

Whether to set the parent width as width of the element

movingDirections: EventEmitter<MovingDirections> = ...

Emits the direction in which the element should be moved to return to the viewport

movingDirectionsInfo: MovingDirections = ...

Emits the direction in which the element should be moved to return to the viewport As well as the number of pixels it should be moved with

Methods

  • Returns void

Generated using TypeDoc