We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This widget provides split pane behavior. Each SplitPane has two children and can be nested inside another SplitPane.
Value-add Ability to divide content into resizable horizontal or vertical containers
Callbacks onResizeStart onResizeEnd onResize
onResizeStart
onResizeEnd
onResize
Mouse/keyboard interactions Ability to click and drag divider line
Mandatory/valid/empty/wait states None
Controlled/uncontrolled Uncontrolled
List of any icons needed None
Design input required (inc responsive design) Look and feel of the center splitter
Any other considerations:
The text was updated successfully, but these errors were encountered:
re: callbacks, if this widget is uncontrolled then what would the enclosing widget need apart from onResizeComplete?
onResizeComplete
e.g.
const MIN_SIZE = 200; const INITIAL_SIZE = 300; w(SplitPane, { min: MIN_SIZE, size: INITIAL_SIZE, onResizeComplete: onResize, orientation: Orientation.VERTICAL, leading: someWidget, trailing: someOtherWidget }, []); function onResize(size) { INITIAL_SIZE = undefined; }
Sorry, something went wrong.
re: above, that is not intended to be the API, its just cutpasted from when I was playing with SplitPane when learning widget-core 😄
widget-core
bitpshr
No branches or pull requests
Specification
This widget provides split pane behavior. Each SplitPane has two children and can be nested inside another SplitPane.
Features
Value-add
Ability to divide content into resizable horizontal or vertical containers
Callbacks
onResizeStart
onResizeEnd
onResize
Mouse/keyboard interactions
Ability to click and drag divider line
Mandatory/valid/empty/wait states
None
Controlled/uncontrolled
Uncontrolled
List of any icons needed
None
Design input required (inc responsive design)
Look and feel of the center splitter
Any other considerations:
Acceptance criteria
The text was updated successfully, but these errors were encountered: