Anchors
Handles clicking and dragging events of the internal <a> HTML elements, so they won't interfere while interacting with an instance
 
Usage type: optional
This module can be imported using Anchors keyword.
import Glide, { Anchors } from '@glidejs/glide/dist/glide.modular.esm'
new Glide('.glide').mount({ Anchors })
Properties
items type: {HTMLCollection}
- Usage: Holds collection of <a>elements located inside slides
Methods
mount()
- Usage: Mounts and initializes a component
detach()
- Usage: Detaches hrefattribute from anchors and prevents redirections after click or swipe
attach()
- Usage: Restores hrefattribute on anchors and allows for redirections on click