Comments (2)
Hi @nikolafon, apologies for the long delay.
WinJS Pivot uses native browser CSS Scroll Snap Points http://dev.w3.org/csswg/css-snappoints/
to achieve the sticky swipe behavior you experienced in Windows Phone. Not every browser has implemented support for this yet but it is part of the W3C standard. In browsers where native features are not yet implemented we will fall back to the basic support you saw in the Android browser.
We don't currently have pattern to reveal a pattern on edge swipe. WinJS is a cross browser library and I would expect that such a pattern would require support from a native event to inform WinJS when an edge swipe has occurred. Are you aware of other controls library supporting this pattern?
From a WinJS controls standpoint you could use a WinJS.UI.SplitView with
closedDisplayMode: WinJS.UI.SplitView.ClosedDisplayMode.none;
To achieve the visual and layout requirements of that scenario, but you would still require an event to know when to toggle the SplitView.opened property to true.
Regarding your last question there is not currently support in the ListView to swipe on an item to reveal new options.The closest thing to this sort of listitem swipe behavior was "cross slide" which was removed from the ListView in WinJS 3.0 I have asked around and there are currently no plans to add support for this pattern in ListView
from angular-winjs.
Thanks @AmazingJaze for the thorough explanation. In the end I went for my custom solutions and I can say I regret. Way to much cross browser issues. Going with WinJS you might not be able to achieve all the goals that you want it the app but at least what you have is going to work properly in all browsers.
from angular-winjs.
Related Issues (20)
- Tool Bar Command 'selected' property not binding.
- Module 'ngLocale' is not available
- SplitView opened-display-mode: overlay makes commands inaccessable HOT 2
- win-item-template dows not work with Angular 1.5.7 directives
- Optimizing the amount of watchers
- Flyout is hidden when typing button Alt HOT 1
- Can we change code distributed for angular-winjs as it is under MIT license? HOT 2
- Support for Angular 2.0 HOT 1
- winjs as dependency HOT 1
- Support for Angular 1.4/1.5 HOT 7
- Pivot Control - SelectedIndex/Item attributes are still not working HOT 2
- Pivot Control - SelectedIndex/Item attributes are still not working
- Pivot - Wrong tab direction first time load
- Angular2 adapter for winjs is needed HOT 1
- How to dynamically replace content in Angular-WinJS win-split-view-pane? HOT 1
- AutoSuggestBox doesn't set the selected value HOT 1
- Filtering listView issue HOT 8
- Two-way-databinding doesn't work for win-toolbar-command attributes
- is angular 1.3 is the stable version used for winjs?
- Support adapter for angular2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-winjs.