Splitter case study of angular
Angular's splitter case study has been annotated as a memo.
Run the following code
Angular pane splitter example Pane 1 Pane 2 Pane 3
. split-panes
{
Left: 0px
Right: 0px
Top: 0px
Bottom: 0px
Position: absolute
}
.split-panes > .split-handler
{
Background: transparent
Position: absolute
Z-index: 999
}
/ * Horizontal * /
.split-panes.horizontal > .split-handler
{
Width: 4px
Top: 0px
Left: 50%
Bottom: 0px
Cursor: ew-resize
}
.split-panes.horizontal > .split-pane1
.split-panes.horizontal > .split-pane2
{
Position: absolute
Height: 100%
}
.split-panes.horizontal > .split-pane1 new channel IELTS {
Width: 50%
}
.split-panes.horizontal > .split-pane2
{
Left: 50%
Right: 0px
Border-left: 1px solid # aaa
}
/ * Vertical * /
.split-panes.vertical > .split-handler
{
Height: 4px
Top: 50%
Left: 0px
Right: 0px
Cursor: ns-resize
}
.split-panes.vertical > .split-pane1
.split-panes.vertical > .split-pane2
{
Position: absolute
Width: 100%
}
.split-panes.vertical > .split-pane1
{
Height: 50%
}
.split-panes.vertical > .split-pane2
{
Top: 50%
Bottom: 0px
Border-top: 1px solid # aaa
}