Class ConvenienceDomService
Methods
addArrowDiv
- addArrowDiv(parent, arrow?, treeOptions?, rowIndex?, columnIndex?, areaIdent?): HTMLDivElement
Parameters
parent: HTMLDivElement
rowIndex: number = -1
columnIndex: number = -1
areaIdent: AreaIdent = "body"
Returns HTMLDivElement
addCheckboxToDiv
- addCheckboxToDiv(parent, checkedType, areaIdent, rowIndex): HTMLDivElement
Parameters
parent: HTMLDivElement
rowIndex: number
Returns HTMLDivElement
addClass
- addClass(clazz, div): HTMLDivElement
Parameters
clazz: string
div: HTMLDivElement
Returns HTMLDivElement
addClasses
- addClasses(classes, div): HTMLDivElement
Parameters
classes: undefined | string[]
div: HTMLDivElement
Returns HTMLDivElement
addColumnBorderDivs
- addColumnBorderDivs(tableOptions, parent, geo, areaIdent, sideIdent): HTMLDivElement
Returns HTMLDivElement
addColumnDiv
- addColumnDiv(parent, geo, rowIndex?, columnIndex?, areaIdent, sideIdent, text?, treeArrow?, tableOptions?, checkedType?, sortState?): HTMLDivElement
Parameters
parent: HTMLDivElement
rowIndex: number = -1
columnIndex: number = -1
text: string = ""
checkedType: undefined | CheckedType = undefined
Optional
sortState: SortState
Returns HTMLDivElement
addDiv
- addDiv(parent, geo, clazz?): HTMLDivElement
Parameters
parent: HTMLDivElement
clazz: string = ""
Returns HTMLDivElement
addFocusBorderDivs
- addFocusBorderDivs(parent, geo, style): HTMLDivElement
Returns HTMLDivElement
addHorizontalBorder
- addHorizontalBorder(geo, parent, clazz?): HTMLDivElement
Parameters
parent: HTMLDivElement
clazz: string = "ge-table-body-center-horizontal-border"
Returns HTMLDivElement
addLabelDiv
- addLabelDiv(parent, text?, firstTreeColumn?, rowIndex?, columnIndex?, areaIdent?): HTMLDivElement
Parameters
parent: HTMLDivElement
text: string = ""
firstTreeColumn: boolean = false
rowIndex: number = -1
columnIndex: number = -1
areaIdent: AreaIdent = "body"
Returns HTMLDivElement
addRowDiv
- addRowDiv(divScope, geo, rowIndex?, areaIdent, sideIdent, text?): HTMLDivElement
Parameters
rowIndex: number = -1
text: string = ""
Returns HTMLDivElement
addSortedIcon
- addSortedIcon(parent, sorted?, sortedOptions?, columnIndex?): HTMLDivElement
Parameters
parent: HTMLDivElement
columnIndex: number = -1
Returns HTMLDivElement
addVerticalBorder
- addVerticalBorder(geo, parent, clazz?): HTMLDivElement
Parameters
parent: HTMLDivElement
clazz: string = "ge-table-body-center-vertical-border"
Returns HTMLDivElement
appendRelativeChildDiv
- appendRelativeChildDiv(parent): DivScope
appendText
- appendText(parent, text): HTMLElement
Parameters
parent: HTMLDivElement
text: string
Returns HTMLElement
applyDisplayBlockStyle
- applyDisplayBlockStyle(ele): HTMLDivElement
Returns HTMLDivElement
applyDisplayNoneStyle
- applyDisplayNoneStyle(ele): HTMLDivElement
Returns HTMLDivElement
applyStyle
- applyStyle(ele, style): HTMLDivElement
Returns HTMLDivElement
applyStyleFullSize
- applyStyleFullSize(ele): HTMLDivElement
Returns HTMLDivElement
applyStyleInPx
- applyStyleInPx(ele, geoData): HTMLDivElement
Returns HTMLDivElement
applyStyleNoPadding
- applyStyleNoPadding(ele): HTMLDivElement
Returns HTMLDivElement
applyStyleOverflowAuto
- applyStyleOverflowAuto(overflowX?, overflowY?, ele): HTMLDivElement
Parameters
overflowX: "auto" | "scroll" = "auto"
overflowY: "auto" | "scroll" = "auto"
ele: HTMLDivElement
Returns HTMLDivElement
applyStylePosistionAbsolute
- applyStylePosistionAbsolute(ele): HTMLDivElement
Returns HTMLDivElement
applyStylePosistionRelative
- applyStylePosistionRelative(ele): HTMLDivElement
Returns HTMLDivElement
applyStyleString
- applyStyleString(div, style): void
Parameters
div: HTMLDivElement
style: string
Returns void
createAreaDivWithClass
- createAreaDivWithClass(clazz, parent, areaIdent, sideIdent): HTMLDivElement
Parameters
clazz: string
parent: HTMLDivElement
Returns HTMLDivElement
createDivWithClass
- createDivWithClass(clazz, parent): HTMLDivElement
Parameters
clazz: string
parent: HTMLDivElement
Returns HTMLDivElement
Private
getDivOrCreateDiv
- getDivOrCreateDiv(cacheKey, divScope): HTMLDivElement
Returns HTMLDivElement
removeClass
- removeClass(clazz, div): HTMLDivElement
Parameters
clazz: string
div: HTMLDivElement
Returns HTMLDivElement
setAttribute
- setAttribute(div, key, value): HTMLDivElement
Parameters
div: HTMLDivElement
key: string
value: string
Returns HTMLDivElement
setStyle
- setStyle(el, style, value): any
Parameters
el: any
style: string
value: any
Returns any