O'Reilly logo

Programming Atlas by Christian Wenz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required