Skip to content

ControlPosition

The VMapControlPosition component is used to positioning the control on the map.

Basic usage

API

Attributes

NameDescriptionTypeDefault
positionPair of string values representing the side name vertically and horizontally. Example: ['top', 'left'] and set 'topleft' value for the position property in the control components.[string, string]
classThe CSS class value. You can pass the object, array and string value.any

Events

No events.

Slots

NameDescription
defaultThe default slot can be used to extend behavior.

Exposes

NameDescriptionType
positionElementPosition DOM element.Ref<HTMLElement | null>

Released under the MIT License.