pointerEvents enum('box-none', 'none', 'box-only', 'auto')
Controls whether the View can be the target of touch events.
- 'auto': The View can be the target of touch events.
- 'none': The View is never the target of touch events.
- 'box-none': The View is never the target of touch events but it's subviews can be. It behaves like if the view had the following classes in CSS:123456
.box-none {
pointer-events: none;
}
.box-none * {
pointer-events: all;
}
- 'box-only': The view can be the target of touch events but it's subviews cannot be. It behaves like if the view had the following classes in CSS:123456
.box-only {
pointer-events: all;
}
.box-only * {
pointer-events: none;
}
Please login to continue.