API / geotoolkit / widgets / sync / ViewSynchronizer / ViewSynchronizer
sync.ViewSynchronizer.ViewSynchronizer
Type Aliases
Type Aliases
Ƭ ConnectOptions: { events?: string[] ; horizontal?: boolean ; ignoremodellimits?: boolean ; orientation?: Orientation ; receiver?: boolean ; sender?: boolean ; vertical?: boolean } & Partial<Record<SyncMode, { getdata?: (item: EventDispatcher, direction: Orientation) => any ; setdata?: (data: any, item: EventDispatcher, direction: Orientation) => any | void }>>
options to connect listener / receiver
Ƭ EventMap: EventMap & { ItemChanged: { action: string ; data: any ; orientation: Orientation } }
Ƭ Options: Object
options of synchronization
| Name | Type | Description |
|---|---|---|
mode? | SyncMode[] | an array of enabled modes to synchronize |
registry? | SyncOperationRegistry | registry of operations all listeners |
Ƭ SendData: Object
data
| Name | Type | Description |
|---|---|---|
horizontal? | any | data in horizontal direction |
vertical? | any | data in the vertical direction |