Adding xml namespace at page level - stripe integration




I’m new to NativeScript. I have created a new project using the Angular Blank template. The navigation is done using page-router-outlet. I want to include a xmlns attribute on the page level. As far as i can see and understand the entire code is rendered inside a global page attribute. I’ve seen that I can modify the page properties by injecting the Page in a component and changing it’s properties, but how can I do this for xmlns? I need this so i can add stripe (

Best regards,


xmlns name space is used with NativeScript Core, while using Angular you have to use the registerElement method to register your UI component.

Refer docs for more details.