Using oneall with Angular2 and Typescript

Hi Folks,

it is not possible to use script in Templates in Angular2.
Somebody knows a good way to use oneall in an Angular2 app ?

Greetings

Answers

  • Claude_SchlesserClaude_SchlesserAdministratorOneAll Team
    Hi Pawel,

    we have a JavaScript API, you can see the documentation here:
    http://docs.oneall.com/api/

    Regards,
  • Hi Claude ,

    yeah but there is a Problem : To Use Scripts in Angular2 you have to put it directy into the root HTML File.
    Angular2 is Component based and the components are not allowed to render scripts for security reasons.
    Is the a way to get an unminfied script to extract it and put it in a TypeScript file ?
    I am willed to put in in a GitHub Repo and send it to you so you can use it and give it the community ?

    Greetings

Welcome!

Please sign in to your OneAll account to ask a new question or to contribute to the discussions.

Please click on the link below to connect to the forum with your OneAll account.