blackgate / bg-splitter Goto Github PK
View Code? Open in Web Editor NEWSimple pane splitter for angular.js
Home Page: http://blackgate.github.io/bg-splitter/
License: MIT License
Simple pane splitter for angular.js
Home Page: http://blackgate.github.io/bg-splitter/
License: MIT License
i patched it by using in the vertical mode:
pane2.elem.css('top', (pos+handler[0].clientHeigth) + 'px');
and in the horizontal mode:
pane2.elem.css('left', (pos+handler[0].clientWidth) + 'px');
Unless the panes are wrapped in a wrapper div, the directive misbehaves.
.pane-wrapper {
position: relative;
border: 1px solid #aaa;
height: 300px;
}
Hi,
I think the bower.json miss the css in the main property.
There is also an issue after installing with bower. The bower.json is not updated.
The .bower.json generated miss the version.
Regards.
it would be nice if somewhere the license was stated.
I need to use alias to the another pane. But I am unable to access it. I guess this is because of default behavior of transclude.
Please help me with this. Here is my code:
<div> <bg-splitter orientation="horizontal"> <bg-pane min-size="100"> <input ng-model="searchText"></label> <div ng-repeat="taskobj in tasks | filter:searchText as filteredResult track by taskobj.id"> {{ taskobj.name }} </div> </bg-pane> <bg-pane min-size="150"> <div ng-repeat="timelineTask in filteredResult track by timelineTask.id"> {{ timelineTask.details }} </div> </bg-pane> </bg-splitter></div>
When I try to resize the panes, I mouse over the splitter, but don't get a cursor. This works however on Chrome.
Thank to your project, I learned how to write my own splitter directive:
https://github.com/chaosim/splitter
I just made it easier a bit:
a splitter can have multiple panes directly.
no splitter-pane directives is needed.
click to minimize and restore panes.
When will you be making a release/tag for this? As i am trying to add this as a component to http://rails-assets.org but it can not create the component because there are no versions. If you can add a tag to your github repo that would be great. I keep getting: No tag found that was able to satisfy 0.1.0 when I try to convert this on rails-assets.
...so we can see the result before trying it out by hand.
bg-splitter can only split into two panes. This example doesn't work:
Pane A Pane B Pane CIt says that blackgate doesn't maintain this project.. but let me ask this here anyway... (hopefully someone can answer).
How can I subscribe / receive onresize type event when user moves the splitter?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.