MediaSFU ReactJS
Preparing search index...
MainAspectComponentOptions
Interface MainAspectComponentOptions
interface
MainAspectComponentOptions
{
backgroundColor
?:
string
;
children
:
ReactNode
;
showControls
?:
boolean
;
containerWidthFraction
?:
number
;
containerHeightFraction
?:
number
;
defaultFraction
?:
number
;
updateIsWideScreen
:
(
isWide
:
boolean
)
=>
void
;
updateIsMediumScreen
:
(
isMedium
:
boolean
)
=>
void
;
updateIsSmallScreen
:
(
isSmall
:
boolean
)
=>
void
;
containerProps
?:
HTMLAttributes
<
HTMLDivElement
>
;
renderContent
?:
(
options
:
{
defaultContent
:
ReactNode
;
dimensions
:
{
width
:
number
;
height
:
number
}
;
}
,
)
=>
ReactNode
;
renderContainer
?:
(
options
:
{
defaultContainer
:
ReactNode
;
dimensions
:
{
width
:
number
;
height
:
number
}
;
}
,
)
=>
ReactNode
;
}
Index
Properties
background
Color?
children
show
Controls?
container
Width
Fraction?
container
Height
Fraction?
default
Fraction?
update
Is
Wide
Screen
update
Is
Medium
Screen
update
Is
Small
Screen
container
Props?
render
Content?
render
Container?
Properties
Optional
background
Color
backgroundColor
?:
string
children
children
:
ReactNode
Optional
show
Controls
showControls
?:
boolean
Optional
container
Width
Fraction
containerWidthFraction
?:
number
Optional
container
Height
Fraction
containerHeightFraction
?:
number
Optional
default
Fraction
defaultFraction
?:
number
update
Is
Wide
Screen
updateIsWideScreen
:
(
isWide
:
boolean
)
=>
void
update
Is
Medium
Screen
updateIsMediumScreen
:
(
isMedium
:
boolean
)
=>
void
update
Is
Small
Screen
updateIsSmallScreen
:
(
isSmall
:
boolean
)
=>
void
Optional
container
Props
containerProps
?:
HTMLAttributes
<
HTMLDivElement
>
Optional
render
Content
renderContent
?:
(
options
:
{
defaultContent
:
ReactNode
;
dimensions
:
{
width
:
number
;
height
:
number
}
;
}
,
)
=>
ReactNode
Optional
render
Container
renderContainer
?:
(
options
:
{
defaultContainer
:
ReactNode
;
dimensions
:
{
width
:
number
;
height
:
number
}
;
}
,
)
=>
ReactNode
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
background
Color
children
show
Controls
container
Width
Fraction
container
Height
Fraction
default
Fraction
update
Is
Wide
Screen
update
Is
Medium
Screen
update
Is
Small
Screen
container
Props
render
Content
render
Container
MediaSFU
MediaSFU ReactJS
Loading...