Programming Atlas

C.8. Web Parts

In the AtlasWebParts.js library, Atlas allows creating and using Web Parts, as covered in Chapter 3.

C.8.1. Sys.UI.Controls.WebParts.WebPart

Method

Description

get_allowZoneChange()

Retrieves whether a Web Part may be moved into another zone or not

get_titleElement()

Retrieves the title element of the Web Part as an object

get_zone()

Retrieves the current zone of the Web Part

get_zoneIndex()

Retrieves the index of the current zone of the Web Part

set_titleElement(value)

Sets the title element of the Web Part

set_allowZoneChange(value)

Sets whether a Web Part may be moved into another zone or not

set_zone(value)

Sets the current zone of the Web Part

set_zoneIndex(value)

Sets the index of the current zone of the Web Part

C.8.2. Sys.UI.Controls.WebParts.WebPartManager

Method

Description

get_allowPageDesign()

Retrieves whether the page's layout may be changed by the user or not

set_allowPageDesign(value)

Sets whether the page's layout may be changed by the user or not

C.8.3. Sys.UI.Controls.WebParts.WebPartZone

Method

Description

get_allowLayoutChange()

Retrieves whether the layout of the zone may be changed by the user or not

get_uniqueId()

Retrieves the unique identifier (ID) of the zone

get_webPartManager()

Retrieves the WebPartManager associated with the zone

set_allowLayoutChange(value)

Sets whether the layout of the zone may be changed by the user or not

set_uniqueId(value)

Sets the unique identifier (ID) of the zone

set_webPartManager(value)

Sets the WebPartManager associated with the zone

Категории