APIs

Show:
Extends Component
Module: ember-flexberry

This component displaying errors.

Methods

_updateDisplayButtons

() private

Update display buttons.

actions.close

()

Cleans error after displaying.

actions.sendButtonAction

(
  • action
)
public

Call action of a clicked button.

Parameters:

Properties

_buttonDropdownWidth

Number private

Menu dropdown width.

_buttonsSorting

Object private

Sorting buttons type.

_buttonsWidth

Number private

Buttons width.

_closeButtonWidth

Number private

Close button width.

_closeButtonWidth

Number private

Margin button width.

_editPanelWidth

Number private

Edit panel current width.

_error

Error or Array private

Internal property to store the error.

_errorIsArray

Boolean private

Detects if error is an array.

_menuButtons

Array private

Menu buttons.

_messageIsNotSpecified

Boolean private

Detects if error has not own property with message.

_panelButtons

Array private

Panel buttons.

_panelButtons

Array

Buttons.

closeAction

String

Close button action name.

error

Error

Error for displaying.

menuButtonsSorted

Object

Sorting menu buttons type.

modal

Boolean

Define error display mode, in or component.

Default: true

modalContext

String

Selector for modal dialog's context.

Default: '.pusher:first'

panelButtonsSorted

Object

Sorting panel buttons type.

showCloseButton

Boolean

Show close button in panel.

useCloseButton

Boolean

Flag defining whether or not showing close button. Rewrites useCloseButton.

Default: true

useOkButton

Boolean

Flag defining whether or not showing ok button. Rewrites useOkButton.

Default: false