2023-12-26 21:24:05 +00:00
|
|
|
<template>
|
|
|
|
<DocSectionText v-bind="$attrs">
|
2023-12-30 19:38:03 +00:00
|
|
|
<p class="mb-0">
|
2023-12-26 21:24:05 +00:00
|
|
|
PassThrough is an innovative API to provide access to the internal DOM elements to add arbitrary attributes. In general, traditional UI component libraries encapsulate UI and logic with limited APIs that makes the developers dependant on
|
2023-12-31 08:35:02 +00:00
|
|
|
the library maintainer to extend this API by adding new props or events. With <NuxtLink to="/passthrough">Pass Through</NuxtLink> this limitation has been eliminated since, you'll be able to access the internal of the components to add
|
2023-12-26 21:24:05 +00:00
|
|
|
events and attributes. Some common use-cases are adding test attributes, additional aria attributes, custom events and styling.
|
|
|
|
</p>
|
|
|
|
</DocSectionText>
|
|
|
|
</template>
|