Class: Popup

caph.stripe.ui.component. Popup

A class which provides Popup UI component.

Parameters:
Name Type Description
property Object

An object which initializes this component. Refer to the details in caph.ui.base.component.Popup constructor.

Since:
  • 2.1.0
Author:
  • sungmok.chi@samsung.com
Example
var popup = new caph.stripe.ui.component.Popup({
       'popupType'     : 'CONFIRM',
       'buttonContent' : ['YES', 'NO'],
       'width'         : 500,
       'height'        : 400,
       'callback'      : function(result) {
           alert(result);
       }
   });    

   popup.setTitle('Pray');
   popup.setMessageText('There is immeasurable power in it.');
   popup.show();

Extends

Methods

onpostrender()

A handler to listen for the on post render event.

Since:
  • 2.0.0
Inherited From:
Example
No example available. This method is automatically called by "caph.module.event.Manager". See "caph.module.mixins.event.Observer" example for more details.