flipSide
Commons
stable
Return a new parsed anchor where the side axis is mirrored (top↔bottom, left↔right, center stays) while the align is preserved. First fallback tried by the overlay positioning engine when the preferred placement overflows.
API
Signature
Signature TypeScript complète, extraite du fichier util.
API
Paramètres
Paramètres d'entrée acceptés par cet util.
- anchorrequisTParsedAnchor
- The parsed anchor object whose side value will be mirrored.
API
Valeur de retour
La valeur retournée par cet util.
- A new TParsedAnchor with the same align and a mirrored side value.
Usage
Exemples
Extraits de code prêts à coller.
Mirror side axis