Comments (2)
@salutis I see your point in this, since there aren't any other abbreviations. That said, I feel like the API design considered the el
method as a special one that would be used everywhere, and that's why they went with terseness here.
I'm not saying I agree, just pointing out what I imagine was the intent. When I'm using this lib I usually import Element as El as well, so I'm using El.el
all over the place haha :p
from elm-ui.
I appreciate the suggestion and Lucas is basically on track with why I went this direction.
I generally agree with clarity over brevity, though I haven't had anyone mention confusion over the naming of el
, so I'm not sure there is a pain point here. If we add an ellipse
or an elevation
, we definitely won't shorten those :)
from elm-ui.
Related Issues (20)
- All options become focused when using `Element.focused` + `Element.Input.optionWith`
- Add `Element.id : String -> Attribute msg` HOT 1
- `Element.explain` draws a border whose width affects the rendering of actual page content.
- scrollbarX makes the container element disappear. HOT 1
- clipX adds a white box to the end of a line on Chrome
- Docs' paragraph example image 404s
- Element content not rendered when using Element.scrollbarY inside of an Element.inFront attribute HOT 4
- Some elements don't get style applied HOT 2
- Tooltips? HOT 1
- Element.modular math is wrong (easy fix provided)
- Input.slider doesn't respond to mouseOver HOT 1
- Why are some of the events functions like onMouseCoords not exported?
- Feature request: from Html.Styled HOT 1
- Make text unselectable? HOT 2
- CSP nonce support (to be able to protect against XSS attacks)
- Feature request: batch attributes together HOT 2
- Feature request: add attributes retroactively HOT 1
- Feature request: attribute 'none' HOT 1
- Add a function similar to ZStack in SwiftUI HOT 3
- Canvas inside Element HOT 1
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 elm-ui.