Index

src/utils/position.ts

addOffset
addOffset(position: undefined, top: undefined, left: undefined)
calculatePosition
calculatePosition(referenceOffset: undefined, reference: undefined, target: undefined, placement: undefined)
findAbsolute
findAbsolute(reference: undefined, target: undefined, placement: undefined)
findPosition
findPosition(reference: undefined, target: undefined, placement: undefined, offsetFunction: undefined)
findRelative
findRelative(reference: undefined, target: undefined, placement: undefined)
getAbsoluteOffset
getAbsoluteOffset(target: undefined)
getPlacementBox
getPlacementBox(target: undefined, position: undefined)
getRelativeOffset
getRelativeOffset(target: undefined)
setElement
setElement(element: undefined, position: undefined)

src/utils/utils.ts

clone
clone(obj: undefined)

src/common/tab.service.ts

cycleTabs
cycleTabs(event: undefined, element: undefined)
focusFirstFocusableElement
focusFirstFocusableElement(list: undefined)
focusLastFocusableElement
focusLastFocusableElement(list: undefined)
getFocusElementList
getFocusElementList(element: undefined)
isElementFocused
isElementFocused(event: undefined, element: undefined)
isFocusInFirstItem
isFocusInFirstItem(event: undefined, list: undefined)
isFocusInLastItem
isFocusInLastItem(event: undefined, list: undefined)
isVisible
isVisible(element: undefined)

src/utils/a11y.ts

findNextElem
findNextElem(target: undefined)
findPrevElem
findPrevElem(target: undefined)
findSiblingElem
findSiblingElem(target: undefined, direction: undefined)
focusNextElem
focusNextElem(elem: undefined, rootElem: undefined)
focusNextTree
focusNextTree(elem: undefined, rootElem: undefined)
focusPrevElem
focusPrevElem(elem: undefined, parentRef: undefined)
HcModeChecker
HcModeChecker()

src/utils/window-tools.ts

getScrollbarWidth
getScrollbarWidth()

src/i18n/i18n.module.ts

I18N_SERVICE_PROVIDER_FACTORY
I18N_SERVICE_PROVIDER_FACTORY(parentService: undefined)

src/modal/modal.decorator.ts

Modal
Modal()

Applying the decorator metadata to the target class (Modal).

src/placeholder/placeholder.module.ts

PLACEHOLDER_SERVICE_PROVIDER_FACTORY
PLACEHOLDER_SERVICE_PROVIDER_FACTORY(parentService: undefined)

src/common/utils.ts

range
range(stop: undefined, start: undefined, step: undefined)

Does what python's range function does, with a slightly different signature because of Typescript limitations.

Useful for numbered loops in angular templates, since we can do a normal for loop.

Parameters :
Name Type Optional Description
stop

Generate numbers up to, but not including this number

start

Starting number of the sequence

step

Difference between each number in the sequence

src/table/table.stories.ts

sort
sort(model: undefined, index: undefined)

src/dropdown/dropdowntools.ts

watchFocusJump
watchFocusJump(target: undefined, elements: undefined)

returns an observable bound to keydown events that filters to a single element where the first letter of it's textContent matches the key pressed

Parameters :
Name Type Optional Description
target

element to watch

elements

elements to search

results matching ""

    No results matching ""