How to get elementById in Nativescript?
问题 I'm using nativescript with vue.js and I'm trying to do something like DOM operation. This is sample code from my template: <Label textWrap="true"> <FormattedString id="formString" backgroundColor="yellow" effectiveHeight="100" effectiveWidth="100%"> <Span text="This text has a " /> </FormattedString> </Label> I want to get tag element FormattedString by his id - formString In javascript is like this: let fs = doument.getElementById('formString'); How can I do this in Nativescript-Vue? I know