Docs (4.0.0)
class UIScrollContainer method

applyViewPreset

Applies the provided preset properties to this object.

applyViewPreset(preset: View.ViewPreset<UIContainer, this, "topThreshold" | "bottomThreshold" | "horizontalThreshold" | "verticalScrollEnabled" | "horizontalScrollEnabled"> & {
    onScroll?: string;
    onScrollEnd?: string;
}): void

Notes

  • This method is called automatically. Do not call this method after constructing a UI component.

Related

  • class UIScrollContainerA view class that represents a container component that allows users to scroll, emitting asynchronous scroll events.