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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.