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

3.5.0 • 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 (20)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @opensumi/ide-core-browser

    Weekly Downloads

    544

    Version

    3.5.0

    License

    MIT

    Unpacked Size

    4.11 MB

    Total Files

    1453

    Last publish

    Collaborators

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