📜 ⬆️ ⬇️

Firefox 3.7 and finger paint

In the follow-up to the post before last, as well as in continuation of this, Mozilla announced another feature, but this time for Firefox 3.7.



Firefox Multitouch at MozChile - Drawing Canvas Experiment from Marcio Galli on Vimeo .
')
This technology has three main components:
1. Touch-based scrolling and panning. Allows web users to scroll pages, select text, open and select options in the menu, etc. (planned as part of Firefox 3.6).
2. CSS selector, which allows you to define support for the touchscreen from the user ( -moz-system-metric (touch-enabled) ). With this option, you can change the CSS for your elements, so that their style and size adjusted to the users' fingers (planned as part of Firefox 3.6).
3. Support multitouch on pages. Presented as a DOM event, very similar to mouse events that are available in modern versions of FF (not available in Firefox 3.6, but will probably appear in 3.7).

Sample code can be found here .

Source: https://habr.com/ru/post/72448/


All Articles