0

I have a function like this:

      private loadSlides(): Promise<any> {
        return new Promise(function (resolve, reject) {
          const slideViews = []


 slideViews.push(builder.load(__dirname + '/app/dashboard/customer-product-slide.xml'));

          resolve(slideViews);
        });
      }

builder.load() returns undefined. Why is that so?

Note: I verified that the file actually exists on device explorer.

Thanks!

iamjc015
  • 2,127
  • 6
  • 25
  • 61

0 Answers0