rundis / elm-bootstrap.info Goto Github PK
View Code? Open in Web Editor NEWUser documentation for Elm Bootstrap
License: BSD 3-Clause "New" or "Revised" License
User documentation for Elm Bootstrap
License: BSD 3-Clause "New" or "Revised" License
The documentation for the ListGroup components has the same example code for both the active and the disabled items. The disabled items should use ListGroup.disabled
.
I presume it's supposed to be model.navbarState.basicState
, not state.basicState
for the basic example, and the custom one has a similar variable issue.
Hi, @rundis!
Thanks for this project.
I noticed while reading the docs that the source code for the inline example is rendered for the horizontal list example:
elm-bootstrap.info/src/Page/Form.elm
Line 578 in 73846f5
Thanks!
Hello.
I can do a PR for that but i want to add the imports section so anyone can easily copy paste the example. What do you think?
Button.disabled is:
disabled : Bool -> Option msg
The example on http://elm-bootstrap.info/button
Says that this is valid:
Button.button [ Button.primary, Button.disabled ] [ text "Button" ]
When it's not.
This is the correct syntax:
Button.button [ Button.primary, Button.disabled True ] [ text "Button" ]
Tried to follow the directions to run after cloning and I'm getting:
ERROR in ./src/Main.elm
Module build failed: Error: Compiler process exited with error Compilation failed
I cannot find module 'Bootstrap.Navbar'.
Module 'Main' is trying to import it.
Potential problems could be:
The title says it all. What do you think about it, @rundis?
If you like the idea, I could look into the details of it and submit a pull request
Hi, not sure if I'll get an answer, but I've been using this implementation of bootstrap and everything has been working fine, except I'm trying to change the date format of the Input.date from mm/dd/yyyy
to yyyy-mm-dd
and I'm not sure how to do that.
I've been trying the following:
Input.date
[ Input.attrs [Html.Attributes.property "data-date-format" (Encode.string "yyyy-mm-dd")]
, ...
]
I also tried using Html.Attributes.style
and Html.Attributes.attribute
, and none of them seem to work. I would appreciate any help, thanks.
With a fresh clone, I get: I cannot find module 'Bootstrap.Form.Fieldset'. Module 'Page.Form' is trying to import it.
I'm afraid I don't know why - it's there in elm-stuff/packages/rundis/elm-bootstrap/1.1.0/src/Bootstrap/Form/Fieldset.elm
- and the rest of it seems fine. Any ideas?
Currently there are too many dots to connect for beginners with the quick start description. Need to do better !
I followed the develop instructions from the README.
git clone https://github.com/rundis/elm-bootstrap.git
cd elm-bootstrap
git clone https://github.com/rundis/elm-bootstrap.info.git
cd elm-bootstrap.info
npm install
npm run dev
The resulting page at http://localhost:5000/
Running Windows 10
node version
v7.8.0
npm version
4.2.0
Elm Version
0.18
Hello,
import Html exposing (label)
import Bootstrap.Grid as Grid
import Bootstrap.Grid.Row as Row
import Bootstrap.Grid.Col as Col
-- ...
view model =
Grid.container []
[ CDN.stylesheet
, Grid.row [ Row.centerXs ]
[ Grid.col [ Col.sm6 ] -- Col.sm6 is nice and typed
[ label [ class "col-sm-4" ] -- "col-sm-4" is no longer typed :(
[ text "My awesome label" ]
-- ...
What's the idiomatic way to make the label's class typed in this case?
Many thanks.
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.