97 Commits

Author SHA1 Message Date
11f01e26c1 Set bound along the frame property for iOS layouts. Setting bounds will reapply the transform. 2015-09-28 12:24:18 +03:00
beef7f9372 Fixed: If an Animation instance is played more than once, the same promise is resolved each time leading to unexpected results. #774 2015-09-21 13:27:10 +03:00
36036c55b1 support of [on]event/gesture added + tests 2015-09-18 16:55:39 +03:00
d39913b6e6 className property added cssClass deprecated 2015-09-18 13:31:08 +03:00
744de9670e Class atribute registered and used instead cssClass 2015-09-18 09:47:55 +03:00
81c066e5e3 Support for binding expressions in event bindings 2015-09-12 11:02:32 +03:00
254e4a55a1 AppCompat toolbar 2015-09-04 13:48:43 +03:00
e18e7777a1 Added View.translateX, View.translateY, View.scaleX, View.scaleY, View.rotate properties. 2015-09-03 11:46:12 +03:00
bc4ebd569c Fixed multiple gestures for Android 2015-09-01 15:44:38 +03:00
221fb34102 Merge pull request #646 from NativeScript/gestures-with-on-off
gestures now can be added with on() and removed with off()
2015-09-01 09:37:32 +03:00
17cdbbaf46 gestures now can be added with on() and removed with off() 2015-08-31 16:44:35 +03:00
fc3c52691e Fixed issue with binding when there is no sourceProperty set. 2015-08-31 15:50:12 +03:00
3a0cc32ff2 Fix for Button padding in android.
Fix for types - isString and isNumber.
Modified several tests to pass on VS Emulator for Android.
Fix page background to be applied in onLoaded method.
Enhancements for dependency-observable - it is now possible to add defaultValueGetter function to extract default value for a property. It can also be cached or not.
Remove android_constants because they are per theme and we cannot use them safely.
Fix for SearchBar reseColorProperty method.
2015-08-28 16:59:52 +03:00
8112a6f0d9 Merge pull request #632 from NativeScript/view-setStyle
setInlineStyle implementation + test
2015-08-28 13:50:16 +03:00
881c378a4e Made TabViewItem bindable. 2015-08-28 12:55:28 +03:00
0aec988251 setStyle renamed to setInlineStyle 2015-08-28 11:18:25 +03:00
035e381673 throw error if not string 2015-08-28 11:16:26 +03:00
3fb4b59b87 setStyle implementation + test 2015-08-28 10:46:35 +03:00
a57d52a304 Added support for binding to multiple observable objects (properties). 2015-08-25 16:18:07 +03:00
6a6f7fcf92 Fix ListView module to check for layoutBase instead of Layout
Remove some unnecessary traces
2015-08-11 15:28:39 +03:00
a526e6cec8 Making tslint happy. 2015-08-07 18:26:29 +03:00
c5608d7c5c Brought back the viewModule.getAncestor function.
Extended it, so you can pass actual type instances instead of strings.
2015-08-07 18:26:29 +03:00
141668bb05 Fix applying app CSS to template children when using custom pages.
No longer using getAncestor(view, "Page") to look for a pagey parent.
Replaced that with a View.page property. Removed getAncestor as its type
name-based implementation seems unreliable.
2015-08-07 18:26:21 +03:00
abc9faccfa Added Padding+Border support for Label, Button, TextField and TextView for both platforms. Only iOS TextView does not support them. 2015-08-06 14:58:53 +03:00
e58506563a Fix WrapLayout
Fix ScrollView
Fix Stylers.android
Remove some method from View class
Fix layout-helper test views
Fix all android failing tests
Remove onLayout on Button and TextBase
2015-08-03 13:49:11 +03:00
bd50fb5550 Fixed several unit-tests 2015-08-03 13:49:08 +03:00
0ad198165c Layouts are now implemented natively for Android. 2015-08-03 13:48:41 +03:00
b1e55f1066 Animations 1.0 2015-07-29 15:24:43 +03:00
1439313e7b Make moduleMerge a global function - this saves a total of 83 requires upon application loading. 2015-07-27 13:04:48 +03:00
b64d647033 Merge pull request #434 from NativeScript/nnikolov/ListViewBindingContextIssue
BindingContext set two times on adding item to ListView. Fixed issue #410.
2015-07-16 09:42:05 +03:00
53c7bebfec Center View 2015-07-15 09:35:53 +03:00
e52b0c4556 Action bar progress 2015-07-15 09:35:53 +03:00
e9fa23d845 Merge pull request #436 from NativeScript/issue-421
Resovled Issue #421: Modal pages do not render correctly in iOS.
2015-07-15 08:06:11 +03:00
dedf0615b9 Fix tslint error. 2015-07-14 18:17:58 +03:00
2957554ac1 Resovled Issue #421: Modal pages do not render correctly in iOS. 2015-07-14 16:03:09 +03:00
56f42c654b Move _applyXmlAttribute outside @private block.
Fixes a broken interface implementation error in the public d.ts.
2015-07-14 14:49:47 +03:00
b45718b1ef BindingContext set two times on adding item to ListView. Fixes issue #410. 2015-07-14 14:47:40 +03:00
f3979136a4 Frobit setting inline style from code 2015-07-07 15:02:32 +03:00
6017a208a0 Setting inline style - resets local properties 2015-07-06 17:29:39 +03:00
d74d9b8fbb Css properties progress 2015-07-06 17:29:38 +03:00
bb0a2caa9e Css backgrounds spike 2015-07-06 17:29:38 +03:00
cff1e8f891 Added comments for some regex used in bindings. 2015-07-01 10:24:02 +03:00
440e5968f2 Introduced parent and parents keywords for binding. 2015-06-29 17:16:22 +03:00
9e597976c1 Fix: PR comments 2015-06-26 16:19:19 +03:00
9b934432aa border props added to view 2015-06-18 10:24:25 +03:00
e0e4c6d7c7 backgroundImage exposed to View 2015-06-10 15:19:21 +03:00
a122d854d0 Fixed issue with updating nested properties via binding. 2015-06-08 11:54:20 +03:00
63b5f2ae8b Right enumeration iteration. 2015-06-03 09:50:58 +03:00
ae6fc36ec1 gestureObservers exposed to public via getGestureObservers method. 2015-06-02 15:25:01 +03:00
f3e953f6b4 Changed android to _nativeView. 2015-05-29 14:35:53 +03:00