The platformModule cookbook documentation was missing a few properties
that are now available. This commit adds those properties to be
included in the examples.
resolves: NativeScript/NativeScript#5707
`[Android] NativeScript no longer overwrites the horizontal/vertical alignment on the user-defined root visual element when opening it in modal dialog window (i.e. not fullscreen).` - this has been changed with the introducing of `stretched` parameter in the features. The default behavior stays the same.
* test(e2e): update modal navigation app
Add layout as root.
Add show modal layout.
* chore(frame): move frame stack modifiers in a separate frame-stack module
* feat(frame): handle back navigation when using common layout as root element
Currently webpack fails if app is using wrap layout since it is not registered here. Registering it manually in the app works as a workaround, but still I think it would be nice to have it here by default.
* fix(android/text ios/text): allow -1 to be a valid binding value
Instead of using -1 as special value, use Symbol(-1)
so that it can't be reset accidentally
Closes issue #5559
* renamed the symbol
* feat(list-view): Adds the ability to check whether or not an Item at index is Visible on screen within a listView
* feat(list-view): add the unit-test for checking if list-item is visible.
* clean(list-view): fix invalid reference in list-view-common
* chore(list-view): remove unused logic
* test(list-view) updates the tests for checking if item at index is visible
* chore(ListView Tests): update the test_check_if_item_at_index_is_visible unit test to include 40 children, and test if the last item is visible or not.
* Chore(ListView IOS): Apply requested changes to the for-loop, and replace with Array.some for readability.
* chore(ListView android): Fix TSLint issues.
* feat(image-fetcher): limit bitmap to device sizes when no request width/height set.
* fix(cache-images): create new cache for images with different decodeHeight/decodeWidth.
* chore(e2e): add @types as devDependencies
Update `tsconfig.json` file.
* fix-next(frame): remove current entry fragment on reset root view
* refactor(e2e): undo skip tab root tests
* refactor(frame): extract disposeCurrentFragment() method
Extract the common logic from _onRootViewReset() and onUnloaded() methods to avoid code duplication.
Expose method on View class onBackPressed(). Third party controls
like RadSideDrawer can use this method to override the default Android
back button handling. By default the app closes.
Rework the frame api to support working with multiple Frames.
* frameModule.topmost() - now returns the last navigated Frame or
the currently selected tab item's Frame if the tab item's view is a
Frame.
* frameModule.getFrameById(id: string) - returns a navigated Frame by id.
* args.object.page.frame - can be used in page elements event handlers.
Returns the Frame of the current element's page.
* chore: Update madge-android npm script path
* feat(ios-image-source): standardize quality scale in image-source for both platforms
Normalize quality in saveToFile and toBase64String to follow 0-100 scale - standardize implementation on both platforms
closes#5474