可以等待呈现GUI /组件并在任务完成时显示它。
像
</head>
<body>
<div *ngIf="UserData">
<app>Laddar...</app>
</div>
<div *ngIf="!UserData">
Laddar...
</div>
</body>
</html>
所以阻止<app>
顶级组件,模块中的所有组件都将被阻止?
答案 0 :(得分:1)
<?php
$basePath = $_SERVER['DOCUMENT_ROOT'].'/Hoidja.ee/Dashboard/';
echo ('<script src='.$basePath.'assets/js/gsap/main-gsap.js"></script>');
echo ('<script src='.$basePath.'assets/js/resizeable.js"></script>');
echo ('<script src='.$basePath.'assets/js/neon-api.js"></script>');
echo ('<script src='.$basePath.'assets/js/neon-custom.js"></script>');
?>
<div *ngIf="data">
{{content}}
</div>