feat: periodic glass sweep shimmer across console panel
This commit is contained in:
@@ -140,6 +140,10 @@ const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
|
||||
out.consoleBgImage = conEl ? getComputedStyle(conEl).backgroundImage.slice(0, 60) : null;
|
||||
out.consoleBgSize = conEl ? getComputedStyle(conEl).backgroundSize : null;
|
||||
out.consoleBgColor = conEl ? getComputedStyle(conEl).backgroundColor : null;
|
||||
var sweep = conEl ? getComputedStyle(conEl, '::before') : null;
|
||||
out.sweepAnim = sweep ? sweep.animationName : null;
|
||||
out.sweepContent = sweep ? (sweep.content !== 'none') : null;
|
||||
out.sweepDur = sweep ? sweep.animationDuration : null;
|
||||
var cards = grid.querySelectorAll('.dsh-wt_consoleCard');
|
||||
out.cardCount = cards.length;
|
||||
var c0 = cards[0];
|
||||
|
||||
Reference in New Issue
Block a user