Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't compile custom component dynamically in nativescript angular #2

Closed
mohammadreza99 opened this issue Jun 11, 2019 · 0 comments
Closed

Comments

@mohammadreza99
Copy link

hi
I'm using a Angular Dynamic Compile component called "P3X Angular Compile", that turns a string into a compiled component in my nativescript project.
link : https://npm.taobao.org/package/p3x-angular-compile
I install that via npm in my {N} project but now work, so I use a part of P3X's source code in my project like this :

const reverse = (str: string) => { return str.split("").reverse().join(""); }
const random = () => { return (Math.floor(Math.random() * (99999999999999999 - 10000000000000000)) + 10000000000000000).toString(16); }
let currentIdTime:let currentId = 0;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants