Tried to improve the data table by exposing settings to control the classes of buttons and inputs.
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import { IgniteElement } from "../ignite-html/ignite-element.js";
|
||||
import { IgniteProperty } from "../ignite-html/ignite-html.js";
|
||||
import { IgniteTemplate, div, h2, h6, button } from "../ignite-html/ignite-template.js";
|
||||
import { IgniteTemplate, div, h2, h5, button } from "../ignite-html/ignite-template.js";
|
||||
|
||||
class YesNoDialog extends IgniteElement {
|
||||
constructor() {
|
||||
@ -31,7 +31,7 @@ class YesNoDialog extends IgniteElement {
|
||||
//Title
|
||||
new h2().class("text-primary text-center mb-3").child(this.title),
|
||||
|
||||
new h6().show(this.description, description => description != null && description != undefined).class("text-center mb-4").child(this.description),
|
||||
new h5().show(this.description, description => description != null && description != undefined).class("text-center mb-4").child(this.description),
|
||||
|
||||
//Yes and No button
|
||||
new div().class("d-flex flex-row gap-3 w-100").child(
|
||||
|
Reference in New Issue
Block a user