Web / Nativescript interview questions
1. What is NativeScript?
NativeScript is a cross-platform JavaScript framework that lets you develop native iOS and Android apps from a single code base. The framework provides JavaScript access to the native APIs, user interface, and rendering engines of iOS and Android....
2. Does NativeScript use WebView?
No, NativeScript doesn't use WebView component. NativeScript maps the UI markup in your code to native components as per Apple and Android had intended and renders as native app.
3. Different Layout containers in Nativescript.
The AbsoluteLayout is the simplest layout in NativeScript. It uses absolute left-top coordinates to position its children....
4. What are the NativeScript Application events?
launch : This event is raised when application launch. suspend : This event is raised when the application is suspended....
5. Name a few AutoInjected objects in Nativescript Angular components.
"ui/page".Page: the native page the component renders on. The router implementation takes care to inject the correct instance when loading components on different pages.