Comments (5)
I don't know what you mean. Can you give me an example of what you are trying to do?
from web-components-examples.
I want to get the inner component's value
Or
I pass the function to inner component, the inner component can emit the outter function
from web-components-examples.
If you've declared a function in the global scope, you should be able to access it from inside the class anyway, without explicitly passing it in.
from web-components-examples.
I want to get the inner component's value
Or
I pass the function to inner component, the inner component can emit the outter function
You are passing in a string, not a function. You also need to declare a property CCC. You are only calling it (the global function) in your constructor.
from web-components-examples.
Hi!
The issue trackers on mdn repositories are for reporting and fixing problems in the MDN documentation/code examples/or on the platform itself.
It looks like you are looking for help with your code. You’ll find more support on other platforms such as Stackoverflow.
We’re closing this issue. If we've misunderstood and you are reporting a problem, feel free to reopen it, and provide more information so we can understand the problem.
Thank you!
from web-components-examples.
Related Issues (20)
- Order of script and webcomponent HOT 6
- I want to encapsulate a component whose custom properties receive a function HOT 2
- License information and file are missing HOT 1
- How to initialize a web component from JavaScript? HOT 9
- CSP HOT 6
- expanding-list-web-component err HOT 1
- Word count counts itself HOT 2
- getAttribute always return null HOT 2
- popup-info-box-web-component violates HTML spec HOT 1
- Actively Maintained? HOT 1
- IE is dead, Time for modern code HOT 1
- Falsy comment in the word-count-web-component javascript file. HOT 1
- Add form-associated element example HOT 2
- En tête du CV
- Approving good
- EditableList's attribute-based approach makes for a confusing example HOT 1
- Improve readability for 'simple-template' example HOT 4
- [spam] HOT 2
- this.shadowRoot is not defined HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from web-components-examples.