MCPcopy
hub / github.com/DevCloudFE/ng-devui / getPane

Method getPane

devui/splitter/splitter.service.ts:100–105  ·  view source on GitHub ↗
(index)

Source from the content-addressed store, hash-verified

98
99 // 获取pane,防止没有初始化的时候调用内部方法取值
100 getPane(index) {
101 if (!this.panes || index < 0 || index >= this.panes.length) {
102 throw new Error('no pane can return.');
103 }
104 return this.panes[index];
105 }
106
107 getBar(index) {
108 if (!this.bars || index < 0 || index >= this.bars.length) {

Callers 10

dragStateMethod · 0.95
setSizeMethod · 0.95
resizeMethod · 0.95
isResizableMethod · 0.95
isStaticBarMethod · 0.95
togglePaneMethod · 0.95
splitter.spec.tsFile · 0.80
queryPanesMethod · 0.80
hidePrevIsCoveredMethod · 0.80
hideNextIsCoveredMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected