Skip to content

Commit

Permalink
Merge pull request #34 from pennions/fix/treenav-search
Browse files Browse the repository at this point in the history
Fix/treenav search
  • Loading branch information
jelmerveen authored Aug 8, 2024
2 parents 68c05ff + 748935a commit 3aad8f4
Show file tree
Hide file tree
Showing 20 changed files with 418 additions and 108 deletions.
1 change: 0 additions & 1 deletion dist/flightkit-v0.0.15/flightkit.min.js

This file was deleted.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/flightkit-v0.0.16/flightkit.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/cdn/ibiss-v0.0.16/avian.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/cdn/ibiss-v0.0.16/flightkit.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/cdn/ibiss-v0.0.16/htmx-ibiss-ui.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/cdn/ibiss-v0.0.16/rocket.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/js/flightkit.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions documentation/public/cdn/ibiss-v0.0.16/avian.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions documentation/public/cdn/ibiss-v0.0.16/flightkit.min.js

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions documentation/public/cdn/ibiss-v0.0.16/rocket.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion documentation/public/js/flightkit.min.js

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions flightkit/components/extensions/base_component.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,12 @@ export class BaseComponent {
const eventTimer = setTimeout(() => {
this._addEvents(parentElement);
clearTimeout(eventTimer);
parentElement.dispatchEvent(new CustomEvent('loaded', {
bubbles: true,
cancelable: true
}));
}, 10);


}
};
5 changes: 5 additions & 0 deletions flightkit/components/table.js
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,11 @@ export class FlightkitTable extends HTMLElement {
}
}

setTemplate(name, template) {
if (!name || !template || typeof template !== 'string') return;
this._templates[name] = template;
}

setContents(newValue) {
/** check if it came from an attibute callback, or directly set as property */
const valueToSet = newValue || this.contents || [];
Expand Down
Loading

0 comments on commit 3aad8f4

Please sign in to comment.