922f6ce56a
revert "feat(observable): enhance event callback type specificity" ( #10721 )
...
Revert "feat(observable): enhance event callback type specificity (#10720 )"
This reverts commit e2f9687e72f8cbb618a22ad5e9a81633a984a0d5.
2025-03-16 15:53:53 -07:00
e2f9687e72
feat(observable): enhance event callback type specificity ( #10720 )
2025-03-16 09:48:51 -07:00
852011c4f9
fix(core): missing parameter for once event listeners ( #10715 )
2025-03-03 06:54:52 -08:00
24ad6e45b1
docs(core): fix types & improve jsdoc comments ( #10620 )
2025-01-12 12:38:28 -08:00
9e472d7874
docs(core): update comments for on, once, addEventListener and removeEventListener ( #10545 )
2024-05-23 08:26:03 -07:00
9be392fbb0
fix(core): drop support for plural event/gesture names ( #10539 )
2024-05-06 18:20:28 -07:00
53e958e623
fix(core): clean up event handling in Observable ( #10531 )
2024-05-02 00:02:01 -07:00
59369fbc19
feat(core): Shared Element Transitions ( #10022 )
2023-03-28 20:04:29 +02:00
485fb61947
fix(core): Observable event types consistency ( #10181 )
2023-01-31 07:42:09 -08:00
c9e29aa9af
fix(core): improve loaded/unloaded handling to be stable and consistent ( #10170 )
2023-01-15 19:49:28 -08:00
0632215793
chore: eslint cleanup ( #10160 )
2023-01-09 09:40:20 -08:00
b147612e06
test: standardized jest unit testing ( #10047 )
2022-11-28 14:32:25 -08:00
bdade0f0d5
fix(core): errors get swallowed if thrown inside async event functions ( #10030 )
2022-09-27 16:57:11 -07:00
d82f3d990d
fix(core): Added ObservableArray constructor declarations to allow setting multiple arguments ( #9980 )
2022-07-30 08:23:40 -07:00
01643f513e
fix(core): correct typings in ObservableArray ( #9961 )
2022-07-20 21:38:28 -07:00
df74a8baa8
feat(core): iterable ObservableArray ( #9824 )
...
BREAKING CHANGE:
Method push will now handle arguments just like Array.prototype.push.
Certain existing methods will now return ObservableArray instance instead.
Callback arguments that contained an array argument themselves will now contain an ObservableArray argument.
2022-07-09 10:09:43 -07:00
d589ac6000
fix(core): typings for Utils.queueMacrotask and static methods on Observable ( #9425 )
2021-05-28 14:06:12 -07:00
770030e7f6
feat(observable-array): findIndex now supported
2021-04-06 11:18:36 -07:00
a822f2affb
chore: a11y polish ( #9259 )
2021-04-06 11:18:36 -07:00
3ddfb5c34a
fix(core): ObservableArray splice with start only ( #9159 )
2021-01-31 10:05:37 -08:00
5fe27428e0
feat(android): FlexboxLayout support for isPassThroughParentEnabled ( #8798 )
2021-01-29 13:03:27 -08:00
539fd1eb29
fix(core): notify object now optional ( #9032 )
2020-11-15 21:57:58 -08:00
c1f231d88e
chore: fix eslint issues ( #9017 )
2020-11-11 08:46:36 -08:00
5c1b7f6d76
fix(core): ObservableArray tests and a typo ( #8968 )
2020-10-17 16:15:20 -07:00
6d135e5d63
fix(core): ObservableArray splice ensure index is > 0 ( #8921 )
...
Otherwise it will crash in ListView for iOS for example as it tries to animate an item with a negative row index
2020-09-30 16:54:54 -07:00
65b1cdbae0
fix(core): Observable splice index > length ( #8900 )
...
* fix for splice index > length
In javascript you can call splice with an index > length. The result is a push.
But when you do that ObservableArray index will be wrong and thus user logic will fail.
Example:
```ts
// obsarray = [0];
obsarray.splice(2, 0, 1);
// this works, the inner array is now [0,1]
// however 'change' is called with index = 2
// when the use tries to do obsarray.getItem(eventData.index) -> crash
```
* fix to handle delete too
2020-09-27 09:20:52 -07:00
eb676fdedf
feat(core): global event handling ( #8830 )
2020-09-15 10:43:40 -07:00
020ad4da37
chore(core): monorepo, esm targeting, improved management ( #8707 )
2020-08-25 20:00:59 -07:00