You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
701 B
33 lines
701 B
import FineUi, {FineType} from '../../shared/FineUI'; |
|
import Left from './Left'; |
|
|
|
export default class LinkSet extends FineUi { |
|
private linkSet: any; |
|
private left: Left; |
|
public constructor() { |
|
super(); |
|
this.left = new Left(); |
|
} |
|
public render(): FineType { |
|
return { |
|
type:'bi.htape', |
|
cls: 'linkset', |
|
items: [{ |
|
el: this.left.widget, |
|
width: 280, |
|
}, { |
|
type: 'bi.label', |
|
cls: 'layout-bg2', |
|
textAlign: 'left', |
|
text: '宽度充满剩余空间', |
|
}], |
|
ref:(_ref: any) => { |
|
this.linkSet = _ref; |
|
}, |
|
}; |
|
} |
|
|
|
public setVisible(type: boolean): void{ |
|
this.linkSet.setVisible(type); |
|
} |
|
}
|
|
|