Sticky tracks when a sticky element becomes pinned so it can be styled differently.
import { DaffStickyTrackerDirective } from '@daffodil/design'
Tracks when a sticky element becomes pinned so it can be styled differently.
@Directive()
class DaffStickyTrackerDirective implements OnDestroy {
@Input() sticky: "top" | "bottom" = undefined
ngOnDestroy(): void
}
"top" | "bottom"| Default | undefined |
|---|---|
| Description | The edge of the scroll container the element sticks to. |
void