You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 3, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6
Original file line number
Diff line number
Diff line change
@@ -3,10 +3,16 @@ All notable changes to this project will be documented in this file.
3
3
This project adheres to [Semantic Versioning](http://semver.org/).
4
4
5
5
## Unreleased
6
+
### Added
7
+
- Added event props `n_blur` and `n_clicks` - along with `n_blur_timestamp` and `n_clicks_timestamp` - in `Textarea` components, to maintain the functionality lost by removing the `click` and `blur` events. All other events were already covered by existing props. [#444](https://github.com/plotly/dash-core-components/pull/444)
8
+
6
9
### Fixed
7
10
- Fix dynamically disabling and enabling `Interval` components [#436](https://github.com/plotly/dash-core-components/pull/436)
8
11
- Clear date in DatePickerSingle and DatePickerRange [#434](https://github.com/plotly/dash-core-components/issues/434)
9
12
13
+
### Removed
14
+
- Removed `Event` system - see https://github.com/plotly/dash/issues/531 for details. [#444](https://github.com/plotly/dash-core-components/pull/444)
15
+
10
16
## [0.42.1] - 2019-01-07
11
17
### Fixed
12
18
- Fix `dcc.Store` type changes [#427](https://github.com/plotly/dash-core-components/pull/427)
Copy file name to clipboardExpand all lines: dash_core_components/Graph.py
+3-6
Original file line number
Diff line number
Diff line change
@@ -32,12 +32,12 @@ class Graph(Component):
32
32
- config (optional): Plotly.js config options.
33
33
See https://plot.ly/javascript/configuration-options/
34
34
for more info.. config has the following type: dict containing keys 'staticPlot', 'editable', 'edits', 'autosizable', 'queueLength', 'fillFrame', 'frameMargins', 'scrollZoom', 'doubleClick', 'showTips', 'showAxisDragHandles', 'showAxisRangeEntryBoxes', 'showLink', 'sendData', 'linkText', 'displayModeBar', 'modeBarButtonsToRemove', 'modeBarButtonsToAdd', 'modeBarButtons', 'displaylogo', 'plotGlPixelRatio', 'topojsonURL', 'mapboxAccessToken'.
35
-
Those keys have the following types:
35
+
Those keys have the following types:
36
36
- staticPlot (boolean; optional): no interactivity, for export or image generation
37
37
- editable (boolean; optional): we can edit titles, move annotations, etc - sets all pieces of `edits`
38
38
unless a separate `edits` config item overrides individual parts
39
39
- edits (optional): a set of editable properties. edits has the following type: dict containing keys 'annotationPosition', 'annotationTail', 'annotationText', 'axisTitleText', 'colorbarPosition', 'colorbarTitleText', 'legendPosition', 'legendText', 'shapePosition', 'titleText'.
40
-
Those keys have the following types:
40
+
Those keys have the following types:
41
41
- annotationPosition (boolean; optional): annotationPosition: the main anchor of the annotation, which is the
42
42
text (if no arrow) or the arrow (which drags the whole thing leaving
43
43
the arrow length & direction unchanged)
@@ -83,16 +83,13 @@ class Graph(Component):
83
83
- topojsonURL (string; optional): URL to topojson files used in geo charts
Copy file name to clipboardExpand all lines: dash_core_components/Interval.py
+8-10
Original file line number
Diff line number
Diff line change
@@ -5,28 +5,26 @@
5
5
6
6
classInterval(Component):
7
7
"""A Interval component.
8
-
A component that repeatedly fires an event ("interval")
9
-
with a fixed time delay between each event.
8
+
A component that repeatedly increments a counter `n_intervals`
9
+
with a fixed time delay between each increment.
10
10
Interval is good for triggering a component on a recurring basis.
11
11
The time delay is set with the property "interval" in milliseconds.
12
12
13
13
Keyword arguments:
14
14
- id (string; optional)
15
-
- interval (number; optional): This component will fire an event every `interval`
16
-
milliseconds with the event name `setInterval`
17
-
- disabled (boolean; optional): If True, the interval will no longer trigger
18
-
an event.
15
+
- interval (number; optional): This component will increment the counter `n_intervals` every
16
+
`interval` milliseconds
17
+
- disabled (boolean; optional): If True, the counter will no longer update
19
18
- n_intervals (number; optional): Number of times the interval has passed
20
-
- max_intervals (number; optional): Number of times the interval will be fired. If -1, then the interval has no limit (the default) and if 0 then the interval stops running.
21
-
22
-
Available events: 'interval'"""
19
+
- max_intervals (number; optional): Number of times the interval will be fired.
20
+
If -1, then the interval has no limit (the default)
0 commit comments