@opensumi/ide-core-browser
TypeScript icon, indicating that this package has built-in type declarations

3.8.2 • Public • Published

@opensumi/ide-core-browser

Usage

Utils

createOverlay

import { createOverlay, destroyAllOverlays } from '@opensumi/ide-core-browser/lib/utils/create-overlay';

const overlayInstance = createOverlay(<h1 style={{color: 'white'}}>hello world</h1>);
overlayInstance.update(<h2 style={{color: 'white'}}>hello world</h2>);
overlayInstance.destroy();

destroyAllOverlays();

Dependencies (18)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @opensumi/ide-core-browser

    Weekly Downloads

    2,919

    Version

    3.8.2

    License

    MIT

    Unpacked Size

    4.15 MB

    Total Files

    1453

    Last publish

    Collaborators

    • ensorrow
    • jinboker
    • ricbet
    • hacke2
    • lengthmin
    • erha19
    • sakuraash
    • yantze