Options
All
  • Public
  • Public/Protected
  • All
Menu

布局组件

Hierarchy

Index

Constructors

constructor

  • new Layout(config: ILayoutConfig): Layout

Properties

css

css: LayoutStyle

Private isInit

isInit: boolean

layouts

layouts: string[]

Methods

doGetClassName

  • doGetClassName(): any
  • Returns any

doGetCss

  • doGetCss(): { Layout: { & *: { box-sizing: string }; & .layout-content: { border: string; display: string; flex: string; min-height: string; position: string }; & .layout-footer: { border: string; display: string; flex: string; min-height: string }; & .layout-header: { border: string; display: string; flex: string; min-height: string }; & .layout-sider: { border: string; display: string; flex: string; max-width: string; min-width: string; position: string; transition: string; width: string }; &.layout-has-sider: { flex-direction: string }; background: string; display: string; flex: string; flex-direction: string; min-height: string; padding: string } }
  • Returns { Layout: { & *: { box-sizing: string }; & .layout-content: { border: string; display: string; flex: string; min-height: string; position: string }; & .layout-footer: { border: string; display: string; flex: string; min-height: string }; & .layout-header: { border: string; display: string; flex: string; min-height: string }; & .layout-sider: { border: string; display: string; flex: string; max-width: string; min-width: string; position: string; transition: string; width: string }; &.layout-has-sider: { flex-direction: string }; background: string; display: string; flex: string; flex-direction: string; min-height: string; padding: string } }

    • Layout: { & *: { box-sizing: string }; & .layout-content: { border: string; display: string; flex: string; min-height: string; position: string }; & .layout-footer: { border: string; display: string; flex: string; min-height: string }; & .layout-header: { border: string; display: string; flex: string; min-height: string }; & .layout-sider: { border: string; display: string; flex: string; max-width: string; min-width: string; position: string; transition: string; width: string }; &.layout-has-sider: { flex-direction: string }; background: string; display: string; flex: string; flex-direction: string; min-height: string; padding: string }
      • & *: { box-sizing: string }
        • box-sizing: string
      • & .layout-content: { border: string; display: string; flex: string; min-height: string; position: string }
        • border: string
        • display: string
        • flex: string
        • min-height: string
        • position: string
      • & .layout-footer: { border: string; display: string; flex: string; min-height: string }
        • border: string
        • display: string
        • flex: string
        • min-height: string
      • & .layout-header: { border: string; display: string; flex: string; min-height: string }
        • border: string
        • display: string
        • flex: string
        • min-height: string
      • & .layout-sider: { border: string; display: string; flex: string; max-width: string; min-width: string; position: string; transition: string; width: string }
        • border: string
        • display: string
        • flex: string
        • max-width: string
        • min-width: string
        • position: string
        • transition: string
        • width: string
      • &.layout-has-sider: { flex-direction: string }
        • flex-direction: string
      • background: string
      • display: string
      • flex: string
      • flex-direction: string
      • min-height: string
      • padding: string

getDefalutItems

  • getDefalutItems(): any[]
  • Returns any[]

getElemtHtml

  • getElemtHtml(): string
  • Returns string

hasSider

  • hasSider(): boolean
  • 判断自己的子组件内是否包含有LayoutSider组件

    Returns boolean

render

  • render(parentCmp: any): void
  • Parameters

    • parentCmp: any

    Returns void

Generated using TypeDoc