cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vaibhav Parab (JIRA)" <>
Subject [jira] [Created] (CB-12040) insertCss API is not working in ionic-2 typescript
Date Thu, 20 Oct 2016 07:01:11 GMT
Vaibhav Parab created CB-12040:

             Summary: insertCss API is not working in ionic-2 typescript
                 Key: CB-12040
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android, Plugin InAppBrowser
         Environment: Ubuntu 14.04, Ionic-2 CLI 2.1.0, Ionic-2 framework 2.0.0-rc.0
            Reporter: Vaibhav Parab

I'm using `cordova-plugin-inappbrowser` in `IONIC-2` framework.
When I install this plugin through CLI, the `inappbrowser.d.ts` file is generated in node_modules.

I imported the `InAppBrowser` from node_modules and used in my typescript scripts where I
want to open InAppBrowser.

InAppBrowser is opened properly. After that I added `executeScript` and `insertCss` API's
using InAppBrowser's instance.

like `let browser = new InAppBrowser('', '_blank', 'location=yes');`

`browser.insertCss(...... here is my css code ....)`

but this `insertCss` is not working.

Any help is appreciated.
Thanks in advance.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message