A RetroSearch Logo

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

Search Query:

Showing content from https://vue-test-utils.vuejs.org/api/selectors below:

Website Navigation


Selectors | Vue Test Utils

# Selectors

A lot of methods take a selector as an argument. A selector can either be a CSS selector, a Vue component, or a find option object.

# CSS Selectors

Mount handles any valid CSS selector:

You can also use combinators:

# Vue Components

Vue components are also valid selectors.

# Find Option Object # Name

Using a find option object, Vue Test Utils allows for selecting elements by a name of component on wrapper components.

# Ref

Using a find option object, Vue Test Utils allows for selecting elements by $ref on wrapper components.


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