Comments (10)
I need more details: Exactly what are you actions? What happens? What do you expect to happen?
If you can show me you test code / application that would be helpful too.
from golden-layout.
I added a drag and drop listening feature on the left tab
current.newDragSource(tabBarRef.value[i], (e) => { return { title: serverList.value[i].name, type: 'component', componentType: 'termComponent', componentState: { server: { ...serverList.value[i], operationId: val } } } })
I hope to be able to drag and drop from the tab to the terminal window on the right. In version 2.6, this code can be used normally.
However, version 2.6 is not based on an HTML drag and drop API implementation, which may cause conflicts in the drag and drop sorting of my left tab
I currently do not have a demo site, but I can provide the code and video
from golden-layout.
Screen-2024-03-19-.31232.mp4
Screen-2024-03-19-.30802.mp4
from golden-layout.
It's been a while since I worked on GoldenLayout, but it looks I never got around to implementing DragSource - I don't use it for DomTerm. I'll take a look into seeing what is needed.
from golden-layout.
Do you have any corresponding documentation or tutorials on how to use dev branch drag and drop to generate window APIs
from golden-layout.
I don't understand what you mean by "generating window APIs".
(I'm working on newDragSource. However, first I'm looking at a related issue: Making it work when useDragAndDrop is set to false.)
from golden-layout.
https://golden-layout.com/examples/#d508753b29c3001c24218bf3a6b25141
from golden-layout.
What I want to achieve is just like this example
from golden-layout.
I find this example very confusing - it is not obvious how to use it.
More to the point: it's a "kitchen sink" of lots of different modes and interaction styles - whihc is OK for a demo, but useless as a wishlist. Specifically, it doesn't tell me what you think is both important and not working in the dev branch. You need to be more specific.
However, I am working on newDragSource
. Assuming having that is high on the list of things you want, I suggest waiting until I have that working.
from golden-layout.
What I actually want is the new newDragSource API, and once the development is completed, I will be the first to use it. thanks
from golden-layout.
Related Issues (20)
- No header controls in basic implementation HOT 3
- Bugs in negated `instanceof` expressions
- Unable to add child items
- How i can remove created DragSources?
- Popouts are not handled in loadLayout correctly
- popout not working when using with popoutWholeStack enabled
- The position when closing the tab when reopening it HOT 1
- Way to prevent tab drag to other component [HELP] HOT 1
- RTL Feature Support HOT 1
- isClose cause issue with dragging
- X3D content fails after dragging window
- Is it possible to simulate a new window on this page instead of using the browser implementation?
- it popout the whole application gets loaded in popup window
- Error: Component type not registered and BindComponentEvent handler not assigned HOT 1
- newDragSource() does not work HOT 12
- Stack sizing not applied HOT 1
- Container content persists after dragging parent down
- Is it possible to update the containers while dragging the splitters?
- golen-layout blazor version
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from golden-layout.