Header Small Ahoy!

Trongate MX Attribute Reference

The table below offers a quick reference for all Trongate MX attributes.

Attribute Description
mx-get Issues a GET request to the specified URL
mx-post Issues a POST request to the specified URL
mx-put Issues a PUT request to the specified URL
mx-patch Issues a PATCH request to the specified URL
mx-delete Issues a DELETE request to the specified URL
mx-load Automatically loads content when the element is added to the DOM
mx-select Selects content to swap in from a response
mx-select-oob Selects content to swap in from a response, outside the target (out of band)
mx-swap Controls how content will be swapped in (innerHTML, outerHTML, beforebegin, etc.)
mx-trigger Specifies the event that triggers the request
mx-target Specifies the target element to be swapped
mx-indicator Specifies an element to show as a loading indicator during the request

For detailed information on each attribute, please refer to the individual documentation pages.