Skip to content

Commit

Permalink
add demo in README
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasCARPi committed Nov 18, 2023
1 parent aeb41f3 commit 9ae59c1
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ The created input can be a normal input or a textarea.

The user provided function will typically POST to an endpoint to get some JSON back.

## Maintenance status
## Demo

`malle` is currently **MAINTAINED** and used in production environments.
Live demo: https://deltablot.github.io/malle/

## Installation

Expand Down Expand Up @@ -58,9 +58,13 @@ const malle = new Malle({

In this example, when a user clicks on an element with `data-malleable='true'`, the function in the `fun` option will be called. The element will be replaced by a `form` containing the `input` and optionally action buttons (Submit, Cancel).

Head to the [Demo](https://deltablot.github.io/malle/) to see more examples.

See the [Documentation](./DOCUMENTATION.md) for usage and available options.

See the [demo/](./demo) folder for a full example.
## Maintenance status

`malle` is currently **MAINTAINED** and used in production environments.

## Contributing

Expand Down

0 comments on commit 9ae59c1

Please sign in to comment.