ionic framework - Modals not showing when I use soundcloud api with typings in my Ionic2 project -
problem: no modals showing , no dom update automatically triggered (i need call changedetectorref.detectchanges()
), when import and use soundcloud api typings in ionic2 project.
how importing soundcloud api ionic2 project:
in command prompt:
npm install soundcloud typings install soundcloud --save
in ts:
import * sc 'soundcloud';
or
import sc = require('soundcloud');
the soundcloud api works (audio streaming, tracks listing). but, no modal show in ionic2 project while code inserted in ts file of project. also, no dom update automatically triggered.
my ionic info:
cordova cli: 6.3.0 gulp version: cli version 3.9.1 gulp local: local version 3.9.1 ionic framework version: 2.0.0-beta.10 ionic cli version: 2.0.0-beta.32 ionic app lib version: 2.0.0-beta.18 os: node version: v6.2.2
note:
if remove soundcloud code, modals show again. also, dom updates triggered again.
no errors/warnings shown in console.
any ideas?
Comments
Post a Comment