Mission Control Dashboard - Initial implementation
This commit is contained in:
9
node_modules/motion-dom/dist/es/view/utils/get-layer-info.mjs
generated
vendored
Normal file
9
node_modules/motion-dom/dist/es/view/utils/get-layer-info.mjs
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
function getViewAnimationLayerInfo(pseudoElement) {
|
||||
const match = pseudoElement.match(/::view-transition-(old|new|group|image-pair)\((.*?)\)/);
|
||||
if (!match)
|
||||
return null;
|
||||
return { layer: match[2], type: match[1] };
|
||||
}
|
||||
|
||||
export { getViewAnimationLayerInfo };
|
||||
//# sourceMappingURL=get-layer-info.mjs.map
|
||||
Reference in New Issue
Block a user