About this Guide
This article contains a glossary of Ceros SDK component-level commands to use when writing your own SDK code. Please note that all listed commands are as is, and we cannot guarantee all functionality to work across all experiences and devices.
Methods Inherited from CerosLayer:
findAllComponents()
If the component is a group, returns all components in the group, otherwise returns an empty
CerosComponentCollection
getPayload()
getTags()
getPage()
isComponent()
isSyncedObject()
isGroup()
isFolder()
show()
Please note: Any components that are configured in the Studio to be initially hidden will not be able to be shown via this command. However, you can use
show()
andhide()
on a folder that contains the component to make it visible.
hide()
on
Methods Inherited from CerosLayerCollection:
show()
hide()
on()
merge()
click()
called on: CerosComponent
or CerosComponentCollection
arguments: none
Simulates a click event on the component(s) that this is called on. This is equivalent to the user clicking the component(s), and all events/animations that would be triggered by a user clicking the component(s) will also be triggered by calling this method.
var myComponent = experience.findComponentById('a-component-id');
myComponent.click();
getFullResolutionUrl()
called on: CerosComponent