$findOne
vm.$findOne('componentName' | componentDefinition | '.css-selector')
Works just like $find
except it returns on the first matching object.
let child = vm.$findOne('childComponent');
vm.$findOne('componentName' | componentDefinition | '.css-selector')
Works just like $find
except it returns on the first matching object.
let child = vm.$findOne('childComponent');