mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 01:12:37 +00:00
Add introduction doc
This commit is contained in:
parent
0615d3ade5
commit
49b2c2cda0
7 changed files with 124 additions and 0 deletions
9
doc/introduction/PassThroughDoc.vue
Normal file
9
doc/introduction/PassThroughDoc.vue
Normal file
|
@ -0,0 +1,9 @@
|
|||
<template>
|
||||
<DocSectionText v-bind="$attrs">
|
||||
<p>
|
||||
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
|
||||
the library maintainer to extend this API by adding new props or events. With <NuxtLink to="/passthrough">PassThrough</NuxtLink> this limitation has been eliminated since, you'll be able to access the internal of the components to add
|
||||
events and attributes. Some common use-cases are adding test attributes, additional aria attributes, custom events and styling.
|
||||
</p>
|
||||
</DocSectionText>
|
||||
</template>
|
Loading…
Add table
Add a link
Reference in a new issue