Skip to content

Commit

Permalink
Added Compatibility section to README
Browse files Browse the repository at this point in the history
  • Loading branch information
Turbo87 committed Oct 30, 2013
1 parent 2cf33ec commit 6bbf966
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,26 @@ sidebar.setContent('test <b>test</b> test');

If you need more flexibility you can use `sidebar.getContainer()` to get the content container element or use e.g. jQuery on the `<div id="sidebar">` element.


### Options

The sidebar can be configured with these options:

- **position**: Can be `left` (default) or `right` and shouldn't need explaining.
- **closeButton*: Can be `true` (default) or `false`. If `true` a close button will be added to the sidebar.


## Compatibility

The leaflet-sidebar plugin has been tested on the following systems and browsers:

- Ubuntu: Firefox, Chrome
- Mac OS X: Firefox, Chrome, Safari
- Android 4.3: Firefox, Chrome, Opera
- iOS: Safari
- Windows XP: Internet Explorer 6 (failed!)


## License

leaflet-sidebar is free software, and may be redistributed under the MIT LICENSE.

0 comments on commit 6bbf966

Please sign in to comment.