/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** *ThekindofanAPZsmoothscrollanimation. *ThisneedstobeinAPZPublicUtils.hbecauseit'susedby *layout/generic/ScrollAnimationMSDPhysics{h.cpp}aswell.
*/ enumclass ScrollAnimationKind : uint8_t { // Scroll animation in response to programmatic scrolling performed // by the page or otherwise triggered by the main thread (e.g. for // scroll-to-anchor, or certain scrollbar interactions). This may // use Bezier or MSD physics depending on pref values.
Smooth, // Scroll animation used to perform scroll snapping, or other // operations triggered by the main thread using ScrollMode::SmoothMsd. // This always uses MSD physics, and the parameter may be different // than when using MSD physics for other ScrollAnimationKinds.
SmoothMsd, // Scroll animation in response to user keyboard input. // Uses the same scroll physics as ScrollAnimationKind::Smooth.
Keyboard, // Scroll animation in response to user wheel input. // Uses the same scroll physics as ScrollAnimationKind::Smooth.
Wheel
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.