Inherits from spDBFormLabelObject
component: cbadge 
class: spdbbadge


This component is an implementation of a badge, a tiny element that also is implemented in the buttons (as a property) but here as a stand-alone component.

Properties


Description

badgeBackgroundColor

Color of the stripe

badgeColor

Color of the bar

value

Text


PHP Events


Description

onActivate

Triggers when all components are created

onAfterRender

Triggers when rendering is done

onBeforeRender

Triggers before rendering takes place

onCreate

Triggers when the component is created

onDestroy

Triggers when the component is destroyed

JavaScript Events



Description

none