Helpers/size
getContentWidth
getContentWidth(element
, win
): number
Parameters
Name | Type |
---|---|
element |
HTMLElement |
win |
Window |
Returns
number
Defined in
src/core/helpers/size/get-content-width.ts#11
getScrollParent
getScrollParent(node
): Nullable
<Element
>
Parameters
Name | Type |
---|---|
node |
Nullable <Node > |
Returns
Defined in
src/core/helpers/size/get-scroll-parent.ts#16
innerWidth
innerWidth(element
, win
): number
Parameters
Name | Type |
---|---|
element |
HTMLElement |
win |
Window |
Returns
number
Defined in
src/core/helpers/size/inner-width.ts#11
size
size(subject
): number
Parameters
Name | Type |
---|---|
subject |
CanUndef <string | object | unknown []> |
Returns
number
Defined in
src/core/helpers/size/object-size.ts#14
offset
offset(elm
, jodit
, doc
, recurse?
): IBound
Parameters
Name | Type | Default value |
---|---|---|
elm |
HTMLElement | Range |
undefined |
jodit |
IViewBased <IViewOptions > |
undefined |
doc |
Document |
undefined |
recurse |
boolean |
false |
Returns
Defined in
src/core/helpers/size/offset.ts#18
position
position(elm
): IBound
Calculate screen element position
Parameters
Name | Type |
---|---|
elm |
HTMLElement |
Returns
Defined in
jodit/src/core/helpers/size/position.ts:14
position(elm
, jodit
): IBound
Calculate screen element position
Parameters
Name | Type |
---|---|
elm |
HTMLElement |
jodit |
IViewBased <IViewOptions > |
Returns
Defined in
jodit/src/core/helpers/size/position.ts:15
position(elm
, jodit
, recurse
): IBound
Calculate screen element position
Parameters
Name | Type |
---|---|
elm |
HTMLElement |
jodit |
IViewBased <IViewOptions > |
recurse |
boolean |
Returns
Defined in
jodit/src/core/helpers/size/position.ts:16