Skip to content

Commit

Permalink
Update pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bartektelec committed Feb 11, 2024
1 parent af4f311 commit 179396c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:
- name: Build
run: |
npm install
npm build
npm run build
2 changes: 2 additions & 0 deletions src/dom/bind.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@ export const bind =
signalProp: KS,
) => {
if (element instanceof HTMLInputElement) {
// @ts-expect-error ??
$prop(element, property, () => signal[signalProp]);

// TODO: handle all cases
element.addEventListener("change", (e) => {
// @ts-expect-error ??
signal[signalProp] = e.target[property];
});
}
Expand Down

0 comments on commit 179396c

Please sign in to comment.