Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
L
luna
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
luna
Commits
e5703176
Commit
e5703176
authored
May 23, 2018
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] 拖动触发windows resize信号
parent
d3db2722
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
control.component.html
src/app/pages/control/control.component.html
+1
-1
control.component.ts
src/app/pages/control/control.component.ts
+4
-0
No files found.
src/app/pages/control/control.component.html
View file @
e5703176
...
...
@@ -2,7 +2,7 @@
<div
fxFlex=
"1 1 20%"
minBasis=
"100px"
maxBasis=
"800px"
fxFlexFill
ngxSplitArea
*
ngIf=
"DataStore.leftbarshow"
>
<pages-control-cleftbar></pages-control-cleftbar>
</div>
<div
fxFlex=
"0"
ngxSplitHandle
[
style
.
display
]="
activeViewIsRdp
()
?
'
none
'
:
'
block
'"
></div>
<div
fxFlex=
"0"
ngxSplitHandle
[
style
.
display
]="
activeViewIsRdp
()
?
'
none
'
:
'
block
'"
(
mouseup
)="
dragSplitBtn
($
event
)"
></div>
<div
fxFlex=
"1 1 80%"
ngxSplitArea
class=
"content"
>
<pages-control-control></pages-control-control>
</div>
...
...
src/app/pages/control/control.component.ts
View file @
e5703176
...
...
@@ -25,6 +25,10 @@ export class PagesControlComponent implements OnInit {
return
NavList
.
List
[
NavList
.
Active
].
type
===
'rdp'
;
}
dragSplitBtn
(
evt
)
{
window
.
dispatchEvent
(
new
Event
(
'resize'
));
}
ngOnInit
()
{
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment