Gets the value of the data-ai-intent attribute from an element
The element to get the attribute from
The marker intent or null if not found
Gets the value of the data-ai-intent attribute from an element