seveves / angular-stencil Goto Github PK
View Code? Open in Web Editor NEWConnect stencil and angular
Connect stencil and angular
Hi, I can't seem to get this to work in IE11 (It works in all other browsers I've tried: Chrome, Edge, Firefox, Safari & Opera). Is this by design or am I missing something?
I'm looking into building a framework agnostic component library in Stencil and getting it to work in IE11 is sadly a requirement.
The error I'm getting in IE11 is SCRIPT5022: Exception thrown and not caught
in polyfills.bundle.js (859,36)
When I debug iterFn
is undefined in that line:
if (typeof iterFn != 'function')
Should be updated.
Just one question came to my mind: why don't you add the stencil component to the angular project inside the .angular-cli.json?
https://github.com/angular/angular-cli/wiki/stories-global-scripts
Nonetheless, great work!
Updating to A7 shows the following with ng test
:
Failed: Template parse errors:
Can't bind to 'min' since it isn't a known property of 'fwt-slider'.
1. If 'fwt-slider' is an Angular component and it has 'min' input, then verify that it is part of this module.
2. If 'fwt-slider' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. ("<div style="text-align:center">
<fwt-slider [ERROR ->][min]="min" [max]="max" [value]="value1" (valueChanged)="onValue1Changed($event)"></fwt-slider>
<f"): ng:///DynamicTestModule/AppComponent.html@1:14
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.