Manol Donev
03cfc0cee3
chore(tslint): update tslint rules and fix errors ( #5747 )
...
* chore(tslint): fix tslint config & errors
* chore(tslint): enable double quotes, whitespace, and arrow-return-shorthand rules and fix errors
2018-04-26 18:36:32 +03:00
Panayot Cankov
2166d1e415
feat(observable): Implement observable .once ( #5309 )
...
Node has a handy one-liner method on its EventEmitter called "once".
It is similar to "on", but fires a single time and automatically unsubscribes.
2018-01-25 11:38:27 +02:00
Hristo Hristov
8a428b011a
Small perf improvement in fromObject
2018-01-11 13:49:52 +02:00
Hristo Hristov
18fe9392d6
Fix memory leak in edit-text.android
...
Fix fromObjectRecursive to doesn't override source object
2018-01-11 13:25:03 +02:00
Hristo Hristov
cbbee3bbe7
get method on Observable created with fromObject wan’t returning the value that was put from set if that property was not specified in the object passed to fromObject. ( #4213 )
...
get method on Observable created with fromObject wasn’t returning the …
2017-05-17 13:30:46 +03:00
Hristo Hristov
188a1c2c34
Binding to ViewBase as source now works ( #4195 )
...
* Fix 4127
* Move back Binding class to bindable module
2017-05-16 13:33:02 +03:00
Panayot Cankov
17b6f1c5f6
Property change notifications raise value and oldValue
2017-04-07 17:12:39 +03:00
Hristo Deshev
629eb6e683
Use relative imports in tns-core-modules.
...
Use tns-core-modules/* imports in outside code (apps, tests, etc)
2017-03-13 14:37:59 +02:00
Hristo Hristov
ea22eb9c20
refactoring circular imports
2017-03-06 14:05:55 +02:00
Hristo Hristov
e34b0f622c
fix span ( #3510 )
...
* Remove Bindable.
Fix Observable & ObservableArray tests
Fix formattedString text
Change implementation of Span, FormattedString & TextBase
properties valueChange called before native setter
* revetred formattedString tests asserts - formattedText update text property again
properties - when getting value we now use always property name instead of key (using key could return undefined for property that is set to its default value)
updated fontSize & fontInternal properties on all controls
fix font properties so that fontInternal is reset if the new font is the same as Font.default
* fix tslint errors
2017-01-20 16:42:20 +02:00
Hristo Hristov
8cec512397
Fix binding support ( #3489 )
...
* Fix binding support
* fix tslint
2017-01-13 18:08:18 +02:00
Hristo Hristov
309ea148e1
Fix setting text property to number. ( #3449 )
...
Fix setting JS property from native.
2017-01-09 18:13:31 +02:00
Panayot Cankov
6feeb140e3
Fixing type errors in tests
2016-12-19 10:36:25 +02:00
Nedyalko Nikolov
cb9d974fba
Fixed issue with nested observables when null is given as property value.
2016-08-30 13:19:16 +03:00
Nedyalko Nikolov
b9385fc4cd
Renamed and moved to module Observable creation functions.
2016-08-24 15:37:46 +03:00
Nedyalko Nikolov
3fc706972f
Fixed creating Observable object from nested JSON object.
2016-08-12 17:33:28 +03:00
Nedyalko Nikolov
48a57bdaf3
Creating observables from a nested json.
2016-07-18 17:34:50 +03:00
Panayot Cankov
e135c20b14
Rename the files
2016-05-26 14:30:25 +03:00