Objectiv Documentation LogoObjectiv Documentation Logo
TrackingModelingTaxonomy
GitHubSlackTwitterObjectiv.io
  • Introduction
  • Tracker SDKs
  • Anonymous Tracking
  • Locations
  • Validation
  • React SDK
  • React Native SDK
  • Browser SDK
    • How-to-Guides
    • API Reference
      • General
      • Location Taggers
      • Event Trackers
      • Mutation Observer
      • Common
      • Definitions
        • BrowserTrackerConfig
        • ChildrenTaggingQueries
        • ChildrenTaggingQuery
        • FlushQueueOptions
        • GuardableElement
        • LocationContext
        • LocationTaggerParameters
        • ParentTaggedElement
        • TagChildrenAttributes
        • TagChildrenElement
        • TagChildrenReturnValue
        • TagLinkParameters
        • TagLocationAttributes
        • TagLocationOptions
        • TagLocationReturnValue
        • TaggableElement
        • TaggedElement
        • TaggingAttribute
        • TrackBlursAttribute
        • TrackBlursOptions
        • TrackClicksAttribute
        • TrackClicksOptions
        • TrackVisibilityAttribute
        • TrackedElement
        • TrackerErrorHandlerCallback
        • ValidateAttribute
        • WaitForQueueOptions
        • WaitUntilTrackedOptions
      • Tracker Queues
      • Tracker Transports
      • Core Tracker
    • Plugins
  • Angular SDK
  • Testing
  • Collector
  • 🏠
  • Tracking
  • Browser SDK
  • API Reference
  • Definitions
  • TaggableElement

TaggableElement

Either an HTMLElement or an SVGElement.

type TaggableElement = HTMLElement | SVGElement;
Why not simply Element?

Elements are too broad and include things like comment blocks that don't support dataset attributes. Type Guards, like isTaggableElement, are designed to filter out anything that doesn't support Tagging Attributes.

see also
  • GuardableElement
  • TaggedElement
  • isTaggableElement
  • Tagging Attributes
  • Suggest an edit
  • Get help on Slack
  • Request feature or report issue
Previous
TagLocationReturnValue
Next
TaggedElement
  • Privacy Policy
  • Cookies
Copyright © 2022 Objectiv