ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
|
Describes the Popover component. More...
Public Member Functions | |
withTitle (string $title) | |
Get the same popover displaying a title above the content. More... | |
getTitle () | |
Get the title of the popover. More... | |
withVerticalPosition () | |
Get the same popover being rendered below or above the trigger, based on the available space. More... | |
withHorizontalPosition () | |
Get the same popover being rendered to the left or right of the trigger, based on the available space. More... | |
getPosition () | |
Get the position of the popover. More... | |
withAsyncContentUrl (string $url) | |
Get a popover like this who's content is rendered via ajax by the given $url before the popover is shown. More... | |
getAsyncContentUrl () | |
Get the url returning the rendered content, if the popovers content is rendered via ajax. More... | |
getShowSignal () | |
Get the signal to show this popover in the frontend. More... | |
getReplaceContentSignal () | |
Get the signal to replace the content of this popover. More... | |
withFixedPosition () | |
Get a popover which can be used in fixed places such as the main menu. More... | |
isFixedPosition () | |
![]() | |
getCanonicalName () | |
Get the canonical name of the component. More... | |
reduceWith (\Closure $fn) | |
The scheme starts at the leaves of the structure and applies the function to each leave and moves up the tree recursively. More... | |
![]() | |
withResetSignals () | |
Get a component like this but reset (regenerate) its signals. More... | |
![]() | |
withOnLoadCode (Closure $binder) | |
withAdditionalOnLoadCode (Closure $binder) | |
Add some onload-code to the component instead of replacing the existing one. More... | |
getOnLoadCode () | |
Get the currently bound on load code. More... | |
Data Fields | |
const | POS_AUTO = 'auto' |
const | POS_VERTICAL = 'vertical' |
const | POS_HORIZONTAL = 'horizontal' |
Describes the Popover component.
Definition at line 31 of file Popover.php.
ILIAS\UI\Component\Popover\Popover::getAsyncContentUrl | ( | ) |
Get the url returning the rendered content, if the popovers content is rendered via ajax.
ILIAS\UI\Component\Popover\Popover::getPosition | ( | ) |
Get the position of the popover.
ILIAS\UI\Component\Popover\Popover::getReplaceContentSignal | ( | ) |
Get the signal to replace the content of this popover.
ILIAS\UI\Component\Popover\Popover::getShowSignal | ( | ) |
Get the signal to show this popover in the frontend.
ILIAS\UI\Component\Popover\Popover::getTitle | ( | ) |
Get the title of the popover.
ILIAS\UI\Component\Popover\Popover::isFixedPosition | ( | ) |
ILIAS\UI\Component\Popover\Popover::withAsyncContentUrl | ( | string | $url | ) |
Get a popover like this who's content is rendered via ajax by the given $url before the popover is shown.
Means: After the show signal has been triggered but before the popover is displayed to the user, an ajax request is sent to this url. The request MUST return the rendered content for the popover.
ILIAS\UI\Component\Popover\Popover::withFixedPosition | ( | ) |
Get a popover which can be used in fixed places such as the main menu.
This popover will stay fixed when scrolling and therefore remain on the screen.
ILIAS\UI\Component\Popover\Popover::withHorizontalPosition | ( | ) |
Get the same popover being rendered to the left or right of the trigger, based on the available space.
ILIAS\UI\Component\Popover\Popover::withTitle | ( | string | $title | ) |
Get the same popover displaying a title above the content.
ILIAS\UI\Component\Popover\Popover::withVerticalPosition | ( | ) |
Get the same popover being rendered below or above the trigger, based on the available space.
const ILIAS\UI\Component\Popover\Popover::POS_AUTO = 'auto' |
Definition at line 33 of file Popover.php.
const ILIAS\UI\Component\Popover\Popover::POS_HORIZONTAL = 'horizontal' |
Definition at line 35 of file Popover.php.
const ILIAS\UI\Component\Popover\Popover::POS_VERTICAL = 'vertical' |
Definition at line 34 of file Popover.php.