Skip to main content
Skip table of contents

How do you set image source in your NgxApp?

Generally, local resources are placed in the project folder → …\DisplayObjects\mobile\assets (Project Explorer tab of the Studio).

Then, the Src property of the Image component is set relative to the mobile folder.

For example:

'assets/icon_512x512.png' // Simple quotes in TS mode (blue background)

More information here :

In newer Studio, there is a resources picker that greatly helps you to set this Src property:

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.