Merge pull request #13144 from mike-000/popup

Replace deprecated syntax in example
This commit is contained in:
Tim Schaub
2021-12-20 15:18:15 -07:00
committed by GitHub

View File

@@ -18,9 +18,10 @@ const closer = document.getElementById('popup-closer');
*/
const overlay = new Overlay({
element: container,
autoPan: true,
autoPanAnimation: {
duration: 250,
autoPan: {
animation: {
duration: 250,
},
},
});