Comments (3)
Hi,
Thank you for trying wcDocker! I have narrowed down the problem and am fixing it now.
from wcdocker.
Michael,
Thank you so much for your patience, please update and try this again, it should be fixed now!
from wcdocker.
Hi Jeff,
Thanks for the fast reply, looks like that fixed the docking issue !
@Lochemage
One last question for you, I noticed that the demo page uses inline html to set the panel content, EX:
var $themeLabel = $('<div style="width:100%;text-align:right;margin-top:20px;white-space:nowrap;">Select theme: </div>');
...
myPanel.layout().addItem($themeLabel, 0, 1)
The documentation for addItem()
mentions that it can either accept a jquery selector, jquery object, or dom node.
However, when I use a selector only the very first panel of that type gets the content. Any additional panels of the same type are empty.
When I use inline html (like the demo page), or use panel.addItem($querySelector.html())
then every panel of that type gets the content. Wondering if this is a bug or this if this is the intended behavior. Thanks a bunch.
from wcdocker.
Related Issues (20)
- does wcDocker have a destroy-function? HOT 8
- Can wcDocker "just" restore the positions/dims of panels without re-instantiation? HOT 5
- Using 'Panel Creation Elements' breaks creation of panels via context menu
- Docker panel resize HOT 1
- Docker is in infinite loop HOT 2
- Cannot move the stacked Iframe panel into the browser tab. HOT 1
- mobile device events
- Embedded wcDocker instance or otherwise constraining panels to one layout HOT 3
- Can I use wcDocker with angular2? HOT 2
- Provide dynamic options via addPanel HOT 3
- Improved forked version available - bug fixes and performance
- PopOut Browser
- restoring a layout refreshes iframes HOT 1
- Scroll position resets after resize panel HOT 1
- Using moveable(false) causes Browser window hang HOT 5
- wcDocker Frame do not load URL when we use jQuery v.3.3.1
- Any light Theme?
- How do I prevent a panel from resizing?
- Is it possible to localize the context menu?
- Localization
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 wcdocker.