A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://vuejs.org/api/composition-api-helpers below:

Website Navigation


Composition API: Helpers | Vue.js

Composition API: Helpers useAttrs()

Returns the attrs object from the Setup Context, which includes the fallthrough attributes of the current component. This is intended to be used in <script setup> where the setup context object is not available.

useSlots()

Returns the slots object from the Setup Context, which includes parent passed slots as callable functions that return Virtual DOM nodes. This is intended to be used in <script setup> where the setup context object is not available.

If using TypeScript, defineSlots() should be preferred instead.

useModel()

This is the underlying helper that powers defineModel(). If using <script setup>, defineModel() should be preferred instead.

useTemplateRef()

Returns a shallow ref whose value will be synced with the template element or component with a matching ref attribute.

useId()

Used to generate unique-per-application IDs for accessibility attributes or form elements.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4