Nostalgic Primordial Monster

    @domodel/popup

    1.0.13 • Public • Published

    domodel-popup

    Popup system for domodel.

    Getting started

    Installing

    npm install @domodel/popup

    Usage

    import { Core, Binding } from "domodel"
    import { PopupModel, PopupBinding, Popup } from "@domodel/popup"
    
    import MyPopupModel from "/model/my-popup.js"
    
    export default class extends Binding {
    
      onCreated() {
    
        const popup = new Popup()
    
        Core.run(PopupModel(MyPopupModel), { parentNode: this.root, binding: new PopupBinding({ popup }) })
    
      }
    
    }

    Keywords

    none

    Install

    npm i @domodel/popup

    DownloadsWeekly Downloads

    6

    Version

    1.0.13

    License

    MIT

    Unpacked Size

    11.2 kB

    Total Files

    16

    Last publish

    Collaborators

    • thoughtsunificator