Skip to content

Commit

Permalink
Merge pull request Leaflet#256 from pztrick/readme_delete_events
Browse files Browse the repository at this point in the history
updated README to include deletestart and deletestop events per commit bb4d474
  • Loading branch information
jacobtoye committed Jan 12, 2014
2 parents 7db316e + 0933e64 commit a9b20a6
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -130,19 +130,35 @@ Triggered when the user has finished a particular vector or marker.

#### draw:editstart

Triggered when the user starts edit mode by clicking the edit or remove tool button.
Triggered when the user starts edit mode by clicking the edit tool button.

| Property | Type | Description
| --- | --- | ---
| handler | String | The type of edit this is. One of: `edit`, `remove`
| handler | String | The type of edit this is. One of: `edit`

#### draw:editstop

Triggered when the user has finshed editing (edit or remove mode) and saves edits.
Triggered when the user has finshed editing (edit mode) and saves edits.

| Property | Type | Description
| --- | --- | ---
| handler | String | The type of edit this is. One of: `edit`, `remove`
| handler | String | The type of edit this is. One of: `edit`

#### draw:deletestart

Triggered when the user starts remove mode by clicking the remove tool button.

| Property | Type | Description
| --- | --- | ---
| handler | String | The type of edit this is. One of: `remove`

#### draw:deletestop

Triggered when the user has finished removing shapes (remove mode) and saves.

| Property | Type | Description
| --- | --- | ---
| handler | String | The type of edit this is. One of: `remove`

<a name="options" />
## Advanced options

0 comments on commit a9b20a6

Please sign in to comment.