Comments (4)
Separating style from business logic is always good idea. However I'm not sure if we need css file for it. Shouldn't we control a style from Javascript ?
from qmlweb.
hmm, from a readablility perspective it would be nice if everything is defined in javascript, could we not use inheritance to set these properties?
from qmlweb.
could we not use inheritance to set these properties?
Perhaps we could, looks like a good idea to me.
from qmlweb.
Approach like in #120 and setting everything from js based in iheritance instead of styles should work.
I'm closing this, if you have other opinions β feel free to reopen.
from qmlweb.
Related Issues (20)
- how to implement that jump to local anchor like html? HOT 2
- Live reloading implementation HOT 2
- I was not able to run example HOT 9
- Get started is required HOT 2
- `npm run test` fails on windows HOT 5
- singleton definition is not supported by readQmlDir
- Qml for real project (Answer) HOT 1
- Cannot start simplest example, need help. HOT 2
- qml text in rectangle position bug HOT 2
- How to start? HOT 1
- Error: No constructor found for "TapHandler" HOT 3
- ability to import external libraries HOT 4
- Missing support for Gradient
- If the font is loaded after the document has been set up, the width and height of Text are off
- Uglify name mangling breaks qmlweb
- Help using qmlweb with nodejs server HOT 1
- Support of ES6+ HOT 3
- Is Possible To Add WebView or WebEngine To QmlWeb? HOT 1
- How can I load a project instead of a single qml fileοΌ HOT 1
- Is this project still being maintained? HOT 5
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 qmlweb.