1.0.13 • Published 3 years ago

@domodel/popup v1.0.13

Weekly downloads
-
License
MIT
Repository
github
Last release
3 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

3 years ago

1.0.12

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.7

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago