Web Parts

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

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

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

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 ...

Get Programming Atlas now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.