Inherits from spFormEditObject
component: cPanelHeader
class: spPanelHeader

The panel header component allows you to specify a default header on the Panel. It is a rendered component as it has a title, logo etc. 


Properties


Description

backgroundColor

Bootstrap background-color

Class

Opens a css editor and fills default class

collapsibleButtonClass

Class of the collapse button (if panel is declared as being collapsible)

collapsibleButtonIcon

Icon to be used (from the font-awesome lib)

collapsibleButtonTitle

Title of the button

context

deprecated

marginHeader

margin of the header within the panel

marginPadding

padding of the header within the panel

style

Opens an advanced styling editor for styling the element

textColor

Font color

Title

The title to be displayed in the header

TitleLogo

Image to be displayed in the header

titleTypography

Special markup of the title

Methods

No methods

PHP Events

Event

Trigger

onCreate

Occurs when a component gets created

onActivate

Occurs when a component enters the Activation state

onAfterRender

Occurs after rendering of the component is complete. Allows to modify the rendered text

onBeforeRender

Occurs before rendering the component. The best place to access other properties as all components have their value. 

onDestroy

Occurs when a component gets destroyed


JavaScript Events

No events