spring boot開発において、jsではthymeleafという表記が使われています.
1.html頭で使う thymeleaf
2. script : th:inline="javascript"
: js thymeleaf thymeleaf [[]] 。 :
Win10.onReady(function () {
//
Win10.setBgUrl({
main: [[@{/frame/win10ui/img/wallpapers/main.jpg}]],
mobile: [[@{/frame/win10ui/img/wallpapers/mobile.jpg}]],
});
Win10.setAnimated([
'animated flip',
'animated bounceIn',
], 0.01);
});
・