Skip to content

mikanda/model-edit-dialog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

model-edit-dialog

A simple component to edit a model inside a dialog

Installation

$ component install mikanda/model-edit-dialog

API

modelEditDialog(model, form, [lang]);

Create a new instance. The param model must be a instance of component/model, form is the dom element of the form containing which will be displayed inside the dialog. The object lang is optional and can override the default language.

{
  save: 'save',
  cancel: 'cancel',
  title: 'Edit model'
}

License

LGPLv3

About

A simple component to edit a model inside a dialog.

Resources

Stars

Watchers

Forks

Packages

No packages published