Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/shoutem/ui
/ functions
Functions
310 in github.com/shoutem/ui
⨍
Functions
310
◇
Types & classes
80
↓ 42 callers
Function
responsiveWidth
(dimension, actualRefVal = window.width)
theme.js:54
↓ 29 callers
Method
registerElement
* Create Element class for given element tag and add it to the ElementClassMap. * Use the settings to additionally describe a Element class. * @
html/Html.js:34
↓ 20 callers
Function
resolveFontWeight
(fontWeight)
theme.js:101
↓ 17 callers
Function
resolveFontFamily
( fontName = 'Rubik-Regular', fontWeight = 'normal', fontStyle = 'normal', )
theme.js:66
↓ 14 callers
Function
resolveFontStyle
(fontStyle)
theme.js:112
↓ 10 callers
Function
responsiveHeight
(dimension, actualRefVal = window.height)
theme.js:59
↓ 9 callers
Function
combineMappers
(...mapFunctions)
html/Html.js:200
↓ 8 callers
Function
useMemo
( () => ({ source: { html: body }, computeEmbeddedMaxWidth: () => maxWidth, contentWidth
html/components/SimpleHtml.js:147
↓ 5 callers
Function
calculateLineHeight
(fontSize)
theme.js:139
↓ 5 callers
Function
queueToast
(toast, id)
components/ToastMessage/toastMessage.js:44
↓ 4 callers
Function
normalizeProps
(type, props)
components/ToastMessage/toastMessage.js:25
↓ 3 callers
Function
getElement
(element)
html/services/ElementRegistry.js:23
↓ 3 callers
Function
getInterpolatedColor
( colors = DEFAULT_PROGRESS_COLORS, percentage, )
hooks/useColorAndPercentageInterpolation.js:151
↓ 3 callers
Method
getScopedVariable
(scope, variable)
services/variableResolver.js:17
↓ 3 callers
Function
lerp
(a, b, t)
hooks/useColorAndPercentageInterpolation.js:146
↓ 2 callers
Method
addChild
* Create new element and add to active node. * @param tag {String} Element Tag name * @param attributes {Object} Element attributes * @param
html/services/HtmlParser.js:89
↓ 2 callers
Function
addNewIcon
(config)
components/Icon/services/icons.js:6
↓ 2 callers
Function
circlePath
(x, y, radius, startAngle, endAngle)
components/ProgressRings/svgCalculations.js:9
↓ 2 callers
Function
createElementNode
(tag, attributes = {}, childElements = [], parent)
html/services/HtmlParser.js:17
↓ 2 callers
Function
formatButtonTooltip
(props)
components/YearRangePicker/YearRangePicker.js:10
↓ 2 callers
Function
getIcon
(name)
components/Icon/services/icons.js:67
↓ 2 callers
Method
getKeyAreaHeights
(manualOptionHeight)
components/DropDownMenu/DropDownModal.js:108
↓ 2 callers
Method
getPropsToPass
* Used to map props we are passing to React Native ListView. * Setting default values. * @returns {{}}
components/ListView.js:101
↓ 2 callers
Function
getTopInset
()
helpers/device-selector.js:54
↓ 2 callers
Function
getVimeoVideoId
(url)
components/Video/VideoSourceReader.js:15
↓ 2 callers
Function
getYouTubeVideoId
(url)
components/Video/VideoSourceReader.js:3
↓ 2 callers
Function
hexToRgb
hooks/useColorAndPercentageInterpolation.js:128
↓ 2 callers
Function
isBlockElement
(element)
html/Html.js:178
↓ 2 callers
Function
isImg
(element)
html/elements/Img.js:6
↓ 2 callers
Function
isWhiteSpaceString
(element)
html/elements/Text.js:10
↓ 2 callers
Function
polarToCartesian
(centerX, centerY, radius, angleInDegrees)
components/ProgressRings/svgCalculations.js:1
↓ 2 callers
Function
removeWhiteSpace
(childElements)
html/elements/Text.js:30
↓ 2 callers
Function
renderChildElements
(childElements, renderElement)
html/Html.js:239
↓ 2 callers
Function
resolveInterpolationRange
hooks/useColorAndPercentageInterpolation.js:28
↓ 2 callers
Function
resolveMaxWidth
(style)
html/services/Dimensions.js:3
↓ 2 callers
Method
scrollToSelectedItem
()
components/TabMenu/TabMenu.js:36
↓ 1 callers
Method
calculateListViewHeight
(optionHeight)
components/DropDownMenu/DropDownModal.js:90
↓ 1 callers
Method
close
()
components/DropDownMenu/DropDownModal.js:60
↓ 1 callers
Method
collapseDescription
()
components/ImageGalleryOverlay.js:43
↓ 1 callers
Method
createListHeaderComponent
(renderHeader, autoHideHeader)
components/ListView.js:215
↓ 1 callers
Method
createOnLoadMore
()
components/ListView.js:191
↓ 1 callers
Method
createTransformedProps
(props)
components/Image.js:53
↓ 1 callers
Method
createTransformedProps
(props)
components/ImageBackground.js:52
↓ 1 callers
Function
decodeHtmlEntities
* Decode HTML "entities" (special characters) * to the human readable format. * For example `>` to `>`. * @param str {String} Raw HTML * @retur
html/services/HtmlParser.js:10
↓ 1 callers
Function
decodeHtmlEntities
(childElements)
html/elements/Text.js:34
↓ 1 callers
Method
emitOnOptionSelectedEvent
(option)
components/DropDownMenu/DropDownModal.js:68
↓ 1 callers
Method
expandDescription
()
components/ImageGalleryOverlay.js:47
↓ 1 callers
Function
findSource
(tnode)
html/components/VideoRenderer.js:10
↓ 1 callers
Function
generateVideoHtml
* * Generate video html with only selected attributes and parameters. * @returns HTML video element
html/components/VideoRenderer.js:28
↓ 1 callers
Function
getBottomInset
()
helpers/device-selector.js:65
↓ 1 callers
Function
getDisplayMode
(mode)
components/DateTimePicker.js:28
↓ 1 callers
Function
getElementDisplay
(element)
html/services/ElementRegistry.js:32
↓ 1 callers
Function
getElementProperty
(element, property)
html/services/ElementRegistry.js:28
↓ 1 callers
Method
getElementStyle
* Get element style from the Html instance style. * @param element {Element} * @returns {Object|undefined}
html/Html.js:70
↓ 1 callers
Method
getParent
()
html/services/HtmlParser.js:115
↓ 1 callers
Function
getRightmostLeafChild
* Get the leaf child of the element * @param element * @returns {*}
html/elements/Inline.js:42
↓ 1 callers
Method
getRootNode
()
html/services/HtmlParser.js:123
↓ 1 callers
Method
getSelectedOption
()
components/DropDownMenu/DropDownMenu.js:25
↓ 1 callers
Function
getSource
(sourceReader, poster, headers)
components/Video/Video.js:9
↓ 1 callers
Method
getUrl
()
components/Video/VideoSourceReader.js:55
↓ 1 callers
Function
getVimeoEmbedUrl
(id)
components/Video/VideoSourceReader.js:34
↓ 1 callers
Method
getVisibleOptions
()
components/DropDownMenu/DropDownModal.js:40
↓ 1 callers
Function
getYouTubeEmbedUrl
(id, playerParams)
components/Video/VideoSourceReader.js:29
↓ 1 callers
Function
groupInlineNodes
* Group connected (in a sequence) inline elements into array, * handle block elements with onLineBreak. * * For example: * [i,i,i,b,i] => [[i,i,i
html/elements/Inline.js:81
↓ 1 callers
Function
handleLinkPress
(href)
html/elements/A.js:73
↓ 1 callers
Function
handleQueuedToastFinish
components/ToastMessage/toastMessage.js:55
↓ 1 callers
Function
hasBlockElement
(elements)
html/Html.js:187
↓ 1 callers
Function
insertNativeDependencies
()
scripts/add-native-deps.js:6
↓ 1 callers
Method
isEmbeddableVideo
()
components/Video/VideoSourceReader.js:51
↓ 1 callers
Function
isText
(element)
html/elements/Text.js:25
↓ 1 callers
Function
isValidSource
components/Image.js:12
↓ 1 callers
Function
isValidSource
components/ImageBackground.js:11
↓ 1 callers
Function
isValidVideoFormat
(url)
html/services/isValidVideoFormat.js:1
↓ 1 callers
Function
isWhiteSpace
(element)
html/elements/Text.js:21
↓ 1 callers
Function
isWhiteSpaceWrappedWithText
(element)
html/elements/Text.js:14
↓ 1 callers
Function
onChangeText
(text)
components/NumberInput.js:31
↓ 1 callers
Function
onlyInlineChildren
* Based on {@link groupInlineNodes}, * if all elements are inline there will only be one array. * @param groupedChildren {Array} * @returns {boolea
html/elements/Inline.js:31
↓ 1 callers
Function
openLinkPress
(Component)
html/elements/A.js:71
↓ 1 callers
Function
parseHtml
(html, rootTag = 'div')
html/services/HtmlParser.js:134
↓ 1 callers
Function
registerElement
(elementTag, elementClass)
html/services/ElementRegistry.js:19
↓ 1 callers
Function
registerIcons
(config)
components/Icon/services/icons.js:46
↓ 1 callers
Function
removeShoutemRteVideoAttachmentWrapper
html/services/DomVisitors.js:7
↓ 1 callers
Function
renderDefaultSectionHeader
(section)
components/ListView.js:27
↓ 1 callers
Method
renderDescription
(description)
components/ImageGalleryOverlay.js:67
↓ 1 callers
Method
renderElement
* Render HTML element as React Native component. * This method is passed to both custom renderElement and * element corresponding component. It
html/Html.js:84
↓ 1 callers
Method
renderGradient
()
components/DropDownMenu/DropDownModal.js:131
↓ 1 callers
Function
renderGroupedChildren
* @param groupedChildren {Array} * List of elements and arrays of grouped inline elements. * Check {@link groupInlineNodes} * @param renderElemen
html/elements/Inline.js:107
↓ 1 callers
Method
renderListEmptyComponent
()
components/ListView.js:290
↓ 1 callers
Method
renderOption
(option, key)
components/TabMenu/TabMenu.js:112
↓ 1 callers
Method
renderRetryButton
()
components/EmptyStateView.js:23
↓ 1 callers
Method
renderSelectedOption
()
components/DropDownMenu/DropDownMenu.js:49
↓ 1 callers
Method
renderTitle
(title)
components/ImageGalleryOverlay.js:51
↓ 1 callers
Method
renderYearRow
(row, index)
components/YearRangePicker/YearRangePickerModal.js:188
↓ 1 callers
Function
resolveDimensions
(objectToResize, style)
html/services/Dimensions.js:16
↓ 1 callers
Method
resolveImage
()
components/EmptyListImage.js:16
↓ 1 callers
Function
resolveInputRange
hooks/useColorAndPercentageInterpolation.js:7
↓ 1 callers
Method
resolveListViewStyle
(height)
components/DropDownMenu/DropDownModal.js:76
↓ 1 callers
Function
resolveOutputRange
hooks/useColorAndPercentageInterpolation.js:19
↓ 1 callers
Function
resolveRangeTooltip
(visibleYears)
components/YearRangePicker/YearRangePickerModal.js:37
↓ 1 callers
Function
resolveVisibleYears
(props)
components/YearRangePicker/YearRangePickerModal.js:17
next →
1–100 of 310, ranked by callers