Skip to content

Commit

Permalink
Updating app files
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsislimadev committed Jun 30, 2024
1 parent 4767ff6 commit 76fd258
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/flex.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export class nFlex extends HTML {
}

onCreate() {
super.onCreate()
this.setStyles()
this.spaceBetween()
}
Expand Down
2 changes: 1 addition & 1 deletion src/html.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export class HTML extends EventTarget {
this.container = document.createElement(this.getContainerName())
this.container.classList.add(`ct-${this.getName()}`)

this.once('create', () => this.onCreate())
this.onCreate()
}

onCreate() { }
Expand Down
1 change: 1 addition & 0 deletions src/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export class nImage extends HTML {
}

onCreate() {
super.onCreate()
this.setStyles()
return this
}
Expand Down
1 change: 1 addition & 0 deletions src/input.group.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export class nInputGroup extends HTML {
}

onCreate() {
super.onCreate()
this.append(this.getLabel())
this.append(this.getInput())
this.append(this.getError())
Expand Down
1 change: 1 addition & 0 deletions src/input.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export class nInput extends HTML {
}

onCreate() {
super.onCreate()
this.setStyles()
}

Expand Down
1 change: 1 addition & 0 deletions src/link.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export class nLink extends HTML {
}

onCreate() {
super.onCreate()
this.setStyles()
}

Expand Down
1 change: 1 addition & 0 deletions src/select.group.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export class nSelectGroup extends HTML {
}

onCreate() {
super.onCreate()
this.append(this.getLabel())
this.append(this.getSelect())
this.append(this.getError())
Expand Down

0 comments on commit 76fd258

Please sign in to comment.