Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 2k
Range slider second iteration (part 1)#962
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
a9b83bbb45f116dd1f9a31bb274b432f599417435f74607d41d7b066c0ca4f5b062f0b8502206697ed3ab1155a32a7696aFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| /** | ||
| * Copyright 2012-2016, Plotly, Inc. | ||
| * All rights reserved. | ||
| * | ||
| * This source code is licensed under the MIT license found in the | ||
| * LICENSE file in the root directory of this source tree. | ||
| */ | ||
| 'use strict'; | ||
| module.exports = { | ||
| // attribute container name | ||
| name: 'rangeslider', | ||
| // class names | ||
| containerClassName: 'rangeslider-container', | ||
| bgClassName: 'rangeslider-bg', | ||
| rangePlotClassName: 'rangeslider-rangeplot', | ||
| maskMinClassName: 'rangeslider-mask-min', | ||
| maskMaxClassName: 'rangeslider-mask-max', | ||
| slideBoxClassName: 'rangeslider-slidebox', | ||
| grabberMinClassName: 'rangeslider-grabber-min', | ||
| grabAreaMinClassName: 'rangeslider-grabarea-min', | ||
| handleMinClassName: 'rangeslider-handle-min', | ||
| grabberMaxClassName: 'rangeslider-grabber-max', | ||
| grabAreaMaxClassName: 'rangeslider-grabarea-max', | ||
| handleMaxClassName: 'rangeslider-handle-max', | ||
| // style constants | ||
| maskColor: 'rgba(0,0,0,0.4)', | ||
| slideBoxFill: 'transparent', | ||
| slideBoxCursor: 'ew-resize', | ||
| grabAreaFill: 'transparent', | ||
| grabAreaCursor: 'col-resize', | ||
| grabAreaWidth: 10, | ||
| grabAreaMinOffset: -6, | ||
| grabAreaMaxOffset: -2, | ||
| handleWidth: 2, | ||
| handleRadius: 1, | ||
| handleFill: '#fff', | ||
| handleStroke: '#666', | ||
| }; |
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to delete
containerIn._inputbefore this to avoid a loop?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what kind of loop are you referring to here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_inputis always linked to thelayoutas passed toPlotly.plot(gd, data, layout)- which doesn't know anything aboutcontainerOut.