The manakai project

Web::DOM::Touch

The DOM Touch object

DESCRIPTION

The Web::DOM::Touch class implements the DOM Touch interface.

METHODS

Following methods are available:

$number = $ev->client_x
$number = $ev->client_y

Return the coordinate of the target point in the viewport. [TOUCH]

$number = $ev->identifier

Return the identification number for the touch point. [TOUCH]

$number = $ev->page_x
$number = $ev->page_y

Return the coordinate of the target point in the canvas. [TOUCH]

$number = $ev->screen_x
$number = $ev->screen_y

Return the coordinate of the target point in the screen. [TOUCH]

$target = $ev->target

Return the target at the touch point. [TOUCH]

SPECIFICATIONS

TOUCH

Touch Events <https://dvcs.w3.org/hg/webevents/raw-file/v1/touchevents.html>.

SEE ALSO

Web::DOM::TouchList, Web::DOM::TouchEvent.

AUTHOR

Wakaba <wakaba@suikawiki.org>.

LICENSE

Copyright 2013 Wakaba <wakaba@suikawiki.org>.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.