Popover Component

    Popover

    Powerful popover Component, which provides the best UX for your users.

    Note
    The pest hard work in Pal.js UI Popover component placement will be changes automatically with clockwise if default placement hide any popover content and if no placement will cover popover content will choose the best one to show the most of contents

    Usage

    import Popover from '@paljs/ui/Popover';

    Popover has different placements, such as: top, bottom, left, right, start and end which can be used as following:

      Popover Placement

      Popover has a number of triggers which provides an ability to show and hide the component in different ways:

      • Click mode shows the component when a user clicks on the host element and hides when the user clicks somewhere on the document outside the component.

      • Hint provides capability to show the component when the user hovers over the host element and hide when the user hovers out of the host.

      • Hover works like hint mode with one exception - when the user moves mouse from host element to the container element the component remains open, so that it is possible to interact with it content.

      • Focus mode is applied when user focuses the element.

        Popover Trigger

        you can Add component in overlay props see example:

          Popover Component

          Note

          Warning!
          Please note that it is not possible to add Popover component outside Layout component to work with Layout event