PlacementManager
Class
Used for managing the placement of widgets in the Bitrix24 application.
Getters
title
ts
get title(): string
Returns the placement title. By default, returns 'DEFAULT'
if the title is not set.
isDefault
ts
get isDefault(): boolean
Returns true
if the placement title is 'DEFAULT'
.
options
ts
get options(): any
Returns the placement options object. The object is frozen to prevent modifications.
isSliderMode
ts
get isSliderMode(): boolean
Returns true
if the widget is operating in slider mode (option IFRAME
is 'Y'
).
ts
// ... /////
$b24 = await initializeB24Frame()
// ... /////
if($b24.placement.isSliderMode)
{
$b24.parent.setTitle('SliderMode')
}