Skip to content

Commit

Permalink
Typo fix s/returns a label of current breakpoint, [list of breakpoint…
Browse files Browse the repository at this point in the history
…s]/returns current breakpoint (for instance `small`) among a [list of breakpoints]/

As requested by jpetitcolas at #249 (comment)
  • Loading branch information
sedy-bot committed Jul 12, 2018
1 parent fd56c95 commit 1ff0a37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ In addition to this configuration object, it also exposes some public members al
* **filteredData()** returns an object with both `data` and `fullData` keys containing respectively bounds filtered data and full dataset.
* **draw(config, scale)** redraws chart using given configuration and `d3.scaleTime` scale
* **destroy** execute this function before to removing the chart from DOM. It prevents some memory leaks due to event listeners.
* **currentBreakpointLabel** returns a label of current breakpoint, [list of breakpoints](./docs/configuration.md#breakpoints).
* **currentBreakpointLabel** returns current breakpoint (for instance `small`) among a [list of breakpoints](./docs/configuration.md#breakpoints).

Hence, if you want to display number of displayed data and time bounds as in the [demo](https://marmelab.com/EventDrops/), you can use the following code:

Expand Down

0 comments on commit 1ff0a37

Please sign in to comment.