HTML Attributes
Explore the complete list of HTML attributes that can be used with different HTML elements.
Purpose
HTML attributes provide additional information about an element or define its behavior. They are key-value pairs that are added to the opening tag of an HTML element, influencing its appearance, behavior, or interaction with users.
Special Attributes
pp-debounce
: Delays the execution of a function until a specified time has passed without additional triggers.pp-visibility
: Hides and shows an element from the user interface by specifying the duration in milliseconds.pp-display
: Toggles the display of an element between block and none.pp-suspense
: Suspends the rendering of an element until the specified condition is met.pp-before-request
: Executes a JavaScript function before an AJAX request is sent.pp-after-request
: Executes a JavaScript function after an AJAX request is completed.pp-autofocus
: Focuses an input or textarea element when the page loads or when the element is inserted into the DOM.pp-loading-content="true"
: Shows a loading screen on the selected element and not the whole screen.pp-loading-transition
: Adds a transition effect to the loading screen.pp-append-params="true"
: Appends the query parameters to the URL using anchor tags.pp-static="true"
: Prevents the element from being re-rendered when the parent component is updated.