[]
        
(Showing Draft Content)

portal

命名空间: portal

Table of contents

枚举

接口

Type Aliases

Type Aliases

AdminPortalInitOption

Ƭ AdminPortalInitOption: InitOptionBase & AdminPortalInitOptionCore

管理门户初始化选项


AdminPortalInitOptionCore

Ƭ AdminPortalInitOptionCore: Object

Type declaration

名称 类型
entry? AdminEntryEnum
lng? string

entry?: AdminEntryEnum

管理门户入口。

示例

entry: 'home'

lng?: string

管理门户语言。

示例

lng: 'zh'


AdminPortalInitOptionFull

Ƭ AdminPortalInitOptionFull: InitOption & { customizeOption?: AdminPortalInitOptionCore }


DocumentPortalInitOption

Ƭ DocumentPortalInitOption: InitOptionBase & DocumentPortalInitOptionCore

文档门户初始化选项。


DocumentPortalInitOptionCore

Ƭ DocumentPortalInitOptionCore: Object

Type declaration

名称 类型
entry? DocumentPortalEntryEnum | DocumentTypeEntryEnum
hideAvatarMenu? boolean
hideNav? boolean
hideNavDetail? boolean
hideNavLogo? boolean
hidePrimaryNav? boolean
isMobileMode? boolean
lng? string

entry?: DocumentPortalEntryEnum | DocumentTypeEntryEnum

文档门户入口。

示例

entry: 'home'

hideAvatarMenu?: boolean

指定是否隐藏头像菜单。

示例

hideAvatarMenu: false

hideNav?: boolean

指定是否隐藏导航。

示例

hideNav: false

hideNavDetail?: boolean

指定是否隐藏导航详情。

示例

hideNavDetail: false

hideNavLogo?: boolean

指定是否隐藏导航徽标。

示例

hideNavLogo: false

hidePrimaryNav?: boolean

指定是否隐藏主导航。

示例

hidePrimaryNav: false

isMobileMode?: boolean

指定是否在移动模式下打开文档门户。

示例

isMobileMode: false

lng?: string

文档门户语言。

示例

lng: 'zh'


DocumentPortalInitOptionFull

Ƭ DocumentPortalInitOptionFull: InitOption & { customizeOption?: DocumentPortalInitOptionCore }


InitOption

Ƭ InitOption: Object

Type declaration

名称 类型
backendServer BackendServer
element HTMLElement
initPath? string
isDivIntegrationModel boolean
options? { CurrentTheme?: string }
options.CurrentTheme? string
pathBase? string

backendServer: BackendServer

-


element: HTMLElement

-


initPath?: string

-


isDivIntegrationModel: boolean

-


options?: { CurrentTheme?: string }

-


options.CurrentTheme?: string

-


pathBase?: string

-



InitOptionBase

Ƭ InitOptionBase: Object

Type declaration

名称 类型
language? string
theme? string

language?: string

门户语言

示例

language: 'zh'

theme?: string

门户主题

示例

theme: 'default'


destroyAble

Ƭ destroyAble: Object

Type declaration

名称 类型
destroy () => void

destroy: () => void

-