Vue.js find components

#0 / 0 rate

Vue.js find components

137 users

2019-07-08

lukaw

Extension Information

5 star
0%
4 star
0%
3 star
0%
2 star
0%
1 star
0%

Supported Languages

Description

Adds global helper function for finding Vue components (window.vueFind = querySelector for VDOM)

Adds global helper function for finding Vue components

window.vueFind ~= querySelector for VDOM
window.vueFindAll ~= querySelectorAll for VDOM

window.vueFind('Card CardDialog[model=isCardDialogVisible]').model


- Simple selectors:
`window.vueFind('missing')` prints a warning with a tree of supported simple selectors

- Attribute selectors:
only `[attr=fullvalue]` and `[attr="full value"]` operators are supported

- Combinators:
simple selectors can only be combined with a descendant combinator (a space)