You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sergey Shakhnazarov (JIRA)" <ji...@apache.org> on 2016/10/20 07:12:58 UTC

[jira] [Commented] (CB-12040) insertCss API is not working in ionic-2 typescript

    [ https://issues.apache.org/jira/browse/CB-12040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15591040#comment-15591040 ] 

Sergey Shakhnazarov commented on CB-12040:
------------------------------------------

[~vaibsVB], should not it be {{insertCSS}} instead (check casing)?

> insertCss API is not working in ionic-2 typescript
> --------------------------------------------------
>
>                 Key: CB-12040
>                 URL: https://issues.apache.org/jira/browse/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('http://google.com', '_blank', 'location=yes');`
> `browser.insertCss(...... here is my css code ....)`
> but this `insertCss` is not working.
> How can I make this work?
> Any help is appreciated.
> Thanks in advance.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org