1.0.13 • Published 4 years ago

@domodel/popup v1.0.13

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

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 }) })

  }

}
1.0.13

4 years ago

1.0.12

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.7

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago