fun ElementCreator<Element>.a(attributes: Map<String, JsonPrimitive> = emptyMap(), href: String? = null, preventDefault: Boolean = true, new: ElementCreator<AElement>.(AElement) -> Unit? = null): AElement(source)
Create an anchor element.
By default, following a href does not lead to a full page load, just to a
window.url change, that will trigger a page update. You can override this behavior for each AElement by setting the preventDefault parameter to false, which will lead to the "standard" href behavior of full page loads.