Comments (1)
After re-evaluating the current Custom Element API, I don't think this is feasible due to how the is=""
attribute works. The API doesn't allow for an arbitrary element type to be extended without a pre-made definition, which means in order to let the user be able to extend different elements (div, button, p, etc) we'd have to make a definition for each and every element.
It'd be nice if the API allowed for Custom Element definitions to extend whichever element they are applied to at runtime.
Closing unless this changes.
from lume.
Related Issues (20)
- node-based shader system
- Removing a node sometimes leaves behind a ghost Three.js object
- Add caching of mixin applications to prevent duplicates
- Examples are broken HOT 2
- build and test passes locally, fails in CI
- feat: override `Element.getBoundingClientRect` (or new method) to get bounding rects based on WebGL shape
- add GitHub Actions for autolayout and kiwi packages
- The requested module './web.js' contains conflicting star exports for the name HOT 6
- scene flickers on resize HOT 2
- add type definitions for element.behaviors.get('whatever')
- Add support for more scene environment types HOT 3
- InstancedMesh.set* methods
- idea: Manipulate InstancedMesh instances with child elements
- Automatic instancing
- Ability to override materials of model elements (f.e. lume-gltf-model) in HTML, including the whole subtree
- Ability to use elements to manipulate nodes in a model element's three.js tree (f.e. a lume-gltf-model's tree)
- Make custom loaders that give you a Lume tree instead of a Three.js tree
- Dark mode for docs HOT 2
- [@lume/cli] migrate to @web/test-runner instead of Karma HOT 1
- Use DOMMatrix for element transforms, map them to THREE.Matrix4, provide a new math library.
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 lume.