# Class: Compare
default.Compare
# Hierarchy
Evented
↳ Compare
# Table of contents
# Constructors
# Methods
# Constructors
# constructor
+ new Compare(a
: Map, b
: Map, container
: string | Element, options?
: { mousemove
: boolean ; orientation
: "vertical"
| "horizontal"
}): Compare
# Parameters
Name | Type |
---|---|
a | Map |
b | Map |
container | string | Element |
options? | object |
options.mousemove | boolean |
options.orientation | "vertical" | "horizontal" |
Returns: Compare
Overrides: Evented.constructor
# Methods
# remove
▸ remove(): void
Returns: void
# setSlider
▸ setSlider(x
: number): void
# Parameters
Name | Type |
---|---|
x | number |
Returns: void