Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/treenav search #34

Merged
merged 8 commits into from
Aug 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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