MDL-72776 theme_boost: new editing progress effect

This commit is contained in:
Ferran Recio 2021-11-03 09:47:02 +01:00
parent d135a1200a
commit 675f8e24ca
11 changed files with 139 additions and 51 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -466,6 +466,7 @@ export default class {
if (target.hasAttribute('draggable')) {
target.setAttribute('draggable', false);
}
target.setAttribute('aria-busy', true);
} else {
// Enable interactions.
target.style.pointerEvents = null;
@ -474,6 +475,7 @@ export default class {
if (target.hasAttribute('draggable')) {
target.setAttribute('draggable', true);
}
target.setAttribute('aria-busy', false);
}
}