lion/packages/overlays
Thomas Allmer 224f794a1e feat(overlays): align Overlays API + add DynamicOverlay
Co-authored-by: Gerjan van Geest <Gerjan.van.Geest@ing.com>
Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com>"
2019-09-25 11:39:38 +02:00
..
docs feat(overlays): align Overlays API + add DynamicOverlay 2019-09-25 11:39:38 +02:00
src feat(overlays): align Overlays API + add DynamicOverlay 2019-09-25 11:39:38 +02:00
stories feat(overlays): align Overlays API + add DynamicOverlay 2019-09-25 11:39:38 +02:00
test feat(overlays): align Overlays API + add DynamicOverlay 2019-09-25 11:39:38 +02:00
test-suites feat(overlays): align Overlays API + add DynamicOverlay 2019-09-25 11:39:38 +02:00
translations fix: support Chinese language 2019-07-17 10:11:32 +02:00
CHANGELOG.md chore: release new versions 2019-08-01 13:06:00 +00:00
index.js feat(overlays): align Overlays API + add DynamicOverlay 2019-09-25 11:39:38 +02:00
package.json feat(overlays): align Overlays API + add DynamicOverlay 2019-09-25 11:39:38 +02:00
README.md feat(overlays): align Overlays API + add DynamicOverlay 2019-09-25 11:39:38 +02:00

Overlays System

Supports different types of overlays like dialogs, toasts, tooltips, dropdown, etc... Manages their position on the screen relative to other elements, including other overlays.

Features

How to use

Installation

npm i --save @lion/overlays

Example

import { overlays } from '@lion/overlays';

const myCtrl = overlays.add(
  new OverlayTypeController({
    /* options */
  }),
);
// name OverlayTypeController is for illustration purpose only
// please read below about existing classes for different types of overlays