Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ken-matsui/html-styled-extra
Additional functions for working with Html.Styled.
https://github.com/ken-matsui/html-styled-extra
Last synced: about 1 month ago
JSON representation
Additional functions for working with Html.Styled.
- Host: GitHub
- URL: https://github.com/ken-matsui/html-styled-extra
- Owner: ken-matsui
- License: mit
- Created: 2020-09-17T15:08:48.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-05-05T01:58:07.000Z (over 1 year ago)
- Last Synced: 2024-10-16T13:17:50.962Z (3 months ago)
- Language: Elm
- Homepage: https://package.elm-lang.org/packages/ken-matsui/html-styled-extra/
- Size: 31.3 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Additional HTML-related Functions for [`rtfeldman/elm-css`](https://github.com/rtfeldman/elm-css)
[![CI](https://github.com/ken-matsui/html-styled-extra/actions/workflows/elm.yml/badge.svg)](https://github.com/ken-matsui/html-styled-extra/actions/workflows/elm.yml)
This package contains convenience functions for working with Html, beyond that
which `rtfeldman/elm-css` provides.You may want to import this into the `Html` namespace:
```elm
import Html.Styled.Extra as Html
```Then you can do things like writing `Html.Styled.Extra.nothing` instead of `text ""`.
There are many event handlers & decoders in `Html.Styled.Events.Extra`, such as
`targetValueInt` or `onClickPreventDefault`.## Installation
Run the following command in your directory that contains `elm.json`:
```bash
$ elm install ken-matsui/html-styled-extra
Here is my plan:Add:
ken-matsui/html-styled-extra 1.0.0Would you like me to update your elm.json accordingly? [Y/n]: y
Success!
```## Contributing
Feedback and contributions are very welcome.
### Publishing a new version
```sh
$ elm bump
$ git tag 1.0.0
$ git push origin 1.0.0
$ elm publish
```## License
MIT