coldbydefault-portfolio
Preparing search index...
components/aboutPorto/portoCard.utils
PortoCardUtils
Variable PortoCardUtils
Const
PortoCardUtils
:
{
getDescriptionLength
(
deviceType
:
DeviceType
)
:
"short"
|
"full"
;
getHeaderLayout
(
deviceType
:
DeviceType
)
:
"vertical"
|
"horizontal"
;
shouldShowSection
(
section
:
"techHighlights"
|
"readMore"
,
deviceType
:
DeviceType
,
)
:
boolean
;
}
= ...
Component-specific utilities
Type Declaration
getDescriptionLength
:
function
getDescriptionLength
(
deviceType
:
DeviceType
)
:
"short"
|
"full"
Parameters
deviceType
:
DeviceType
Returns
"short"
|
"full"
getHeaderLayout
:
function
getHeaderLayout
(
deviceType
:
DeviceType
)
:
"vertical"
|
"horizontal"
Parameters
deviceType
:
DeviceType
Returns
"vertical"
|
"horizontal"
shouldShowSection
:
function
shouldShowSection
(
section
:
"techHighlights"
|
"readMore"
,
deviceType
:
DeviceType
,
)
:
boolean
Parameters
section
:
"techHighlights"
|
"readMore"
deviceType
:
DeviceType
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
coldbydefault-portfolio
Loading...
Component-specific utilities