Documentation
Preparing search index...
core/src
getElementCssClipPath
Function getElementCssClipPath
getElementCssClipPath
(
element
:
HTMLElement
,
paddingPx
?:
number
,
borderRadiusPx
?:
number
,
)
:
string
Returns a CSS clip-path that cuts the given HTMLElement out of the viewport.
Parameters
element
:
HTMLElement
paddingPx
:
number
= 0
borderRadiusPx
:
number
= 0
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...
Returns a CSS clip-path that cuts the given HTMLElement out of the viewport.