KTDialog
is a Metronic's custom plugin defined in [root]/theme/default/src/theme/framework/components/foundation/dialog/dialog.js
.
KTDialog
is a Metronic's custom plugin defined in [root]/theme/default/src/theme/framework/components/foundation/dialog/dialog.js
.
Pass options into the plugin for initialization.
var dialog = new KTDialog(options);
var options = {
'placement' : 'top center',
'type' : 'loader',
'width' : 100,
'state' : 'default',
'message' : 'Loading...'
};
Field | Type | Description | ||
---|---|---|---|---|
placement |
string |
The place where the dialog be placed.
|
||
type |
string |
Type of the dialog
|
||
width |
string |
Set the dialog width
|
||
state |
string |
Set the dialog state
|
||
message |
string |
Set the dialog message.
|
Method | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
setDefaults(options) |
Set default options
|
||||||||||||
shown() |
Check shown state |
||||||||||||
hidden() |
Check hidden state |
||||||||||||
show() |
Show dialog |
||||||||||||
hide() |
Hide dialog |
||||||||||||
on(name, handler) |
Register event
|
||||||||||||
one(name, handler) |
Register event that will be fired once
|
I run a team of 20 product managers, developers, QA and UX resources. Previously we designed everything ourselves. For our newest platform we tried out Metronic. I cannot overestimate the impact Metronic has had. It's accelerated development 3x and reduced QA issues by 50%. If you add up the reduced need for design time/resources, the increase in dev speed and the reduction in QA, it's probably saved us $100,000 on this project alone, and I plan to use it for all platforms moving forward.
The flexibility of the design has also allowed us to put out a better looking & working platform and reduced my headaches by 90%. Thank you KeenThemes!
Everything within Metronic is customizable globally to provide limitless unique styled projects
Choose a perfect design for your next project among hundreds of demos
A huge collection of components to power your application with the latest UI/UX trands
Enterprise ready Angular 7 integration with built-in authentication module and many more
Metronic deeply customizes Bootstrap with native look and feel
Our super sleek and intuitive Datatable comes packed with all advanced CRUD features
Metronic is the only theme trusted by over 70,000 developers world wide
Lifetime updates with new demos and features is guaranteed
Metronic is written with a code structure that all developers will be able to pick up easily and fall in love