I am using window.less.modifyVars (modified_variables); in the interface to reflect the changes. And I want to show the download icon while less compiles. Is there a way to verify that less compilation has started and completed.
In the less.js GitHub report, I mentioned how they use modifyVars () in their test spec . You can show the boot icon, call the modifyVars method and then use .then () to hide the boot icon.
// Show loading icon less.modifyVars({ var1: "green", var2: "purple", var3: 20 }).then(function () { // Hide loading icon done(); });
Source: https://habr.com/ru/post/983598/More articles:How to use Systemd to restart a service when not working? - linuxDetect When AvPlayer Bit Rate - iosThe override method only calls the parent method - useful? - javaHow to catch exceptions conditionally? - c ++How can I reuse exception handling code for multiple functions in Python? - functionRepeat Push Notification Using Azure Push Notification - azureCan a single iOS application support multiple registration of input notifications? - iosazure notification hubs - application removal - azureFinancial data - R data.table - group by conditions - rWhy fix an application crash using "executor.CoarseGrainedExecutorBackend: Driver Disassociated"? - apache-sparkAll Articles