Skip to content

Latest commit

 

History

History
 
 

scroll

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

revogr-viewport-scroll

Properties

Property Attribute Description Type Default
contentHeight content-height Height of inner content number 0
contentWidth content-width Width of inner content number 0

Events

Event Description Type
resizeViewport CustomEvent<{ dimension: DimensionType; size: number; }>
scrollchange CustomEvent<{ type: DimensionType; hasScroll: boolean; }>
scrollViewport CustomEvent<{ dimension: DimensionType; coordinate: number; delta?: number; }>

Methods

changeScroll(e: RevoGrid.ViewPortScrollEvent) => Promise<RevoGrid.ViewPortScrollEvent>

update on delta in case we don't know existing position or external change

Returns

Type: Promise<ViewPortScrollEvent>

setScroll(e: RevoGrid.ViewPortScrollEvent) => Promise<void>

Returns

Type: Promise<void>

Dependencies

Used by

Graph

graph TD;
  revo-grid --> revogr-viewport-scroll
  revogr-row-headers --> revogr-viewport-scroll
  style revogr-viewport-scroll fill:#f9f,stroke:#333,stroke-width:4px
Loading

Built with StencilJS