Changeset View
Changeset View
Standalone View
Standalone View
src/tests/Browser/Components/Dialog.php
Show All 39 Lines | class Dialog extends BaseComponent | ||||
/** | /** | ||||
* Get the element shortcuts for the component. | * Get the element shortcuts for the component. | ||||
* | * | ||||
* @return array | * @return array | ||||
*/ | */ | ||||
public function elements() | public function elements() | ||||
{ | { | ||||
return [ | return [ | ||||
'@title' => '.modal-header .modal-title', | '@title' => '.modal-title', | ||||
'@body' => '.modal-body', | '@body' => '.modal-body', | ||||
'@button-action' => '.modal-footer button.modal-action', | '@button-action' => '.modal-footer button.modal-action', | ||||
'@button-cancel' => '.modal-footer button.modal-cancel', | '@button-cancel' => '.modal-footer button.modal-cancel', | ||||
]; | ]; | ||||
} | } | ||||
} | } |