好吧,我尝试应用wow.js,但是它似乎对我不起作用。
在hmtl文件中:
var parentShareId = SharingUtility.UrlEncode(sharingUrl); //refers to parent folder
//generate share id for sub folder
var shareId = SharingUtility.UrlEncode(SharingUtility.UrlDecode(parentShareId) + "/" + subFolderName);
//address shared drive item
var items = await graphClient.Shares[shareId].Root.Children
.Request()
.GetAsync();
foreach (var item in items)
{
Console.WriteLine(item.Name);
}
在js文件中:
<!-- Bootstrap-->
<script src="js/bootstrap/bootstrap.min.js"></script>
<!-- WOW.js-->
<scirpt src=js/wow/wow.min.js></scirpt>
<script src="js/customjs"></script>
$(function(){
new WOW().init();
});