gersigno.github.io
1.0.0
如果您喜歡我的作品,請確保確定此倉庫!
歡迎來到我的投資組合的存儲庫!
得益於熟悉的桌面界面,通過我的投資組合發現獨特而直觀的體驗!
筆記
該項目仍在Beta中,某些功能可能無法按預期工作,並且在某些地方代碼仍然有些混亂。
可以在這里報告任何錯誤嗎?
通過混合模糊效果和背景中的噪聲紋理來創建一定深度來存檔這種效果。它受到微軟的丙烯酸效果的啟發
您可以從設置應用程序自定義體驗。
?所有設置都保存在您的本地存儲中。
這些功能是在進行工作的,將來會有以後的更新:
該代碼被部分評論和記錄。
重要的
不要忘記該項目仍在開發中,可以在以後的更新中修改功能。
您的整個應用程序需要在HTML類型文件中可用。
首先,在_subpages文件夾中創建項目名稱的文件夾。
然後,在位於scriptsdesktopdesktop.js desktop.js文件中,創建一個新的DesktopIcon對象實例。
句法:
new DesktopIcon ( ( String ) title , ( String ) icon , ( function ) funcPtr , ( String ) shandler ) ; title : The text shown at the bottom of the shortcut;
icon : The relative path of your icon's image file;
funcPtr : The function to call on any left click event (can have parameters);
shandler : Unique text to distinguish between different icons.;您需要在圖標的單擊事件上調用createWindow(...)函數以創建窗口。景象:
new DesktopIcon ( "Title" , "icons/myIcon.png" , ( ) => createWindow ( "icons/myIcon.png" , "Title" , "_subpages\my_app\index.html" , "myApp" ) , "myApp_shortcut" ) ;要創建一個彈出窗口,您可以簡單地使用UI_CreatePupup()函數。
句法:
UI_CreatePupup ( ( String ) icon , ( String ) title , ( String ) message , ( String ) okText , ( function ) okFunction , ( String ) cancelText , ( function ) cancelFunction ) ; icon : The relative path of your icon's image file;
title : The title of the pop-up;
message : the message shown at the center of the pop-up;
okText : The text of the primary (left) button;
okFunction : The function to call when the primary button is clicked by the user;
cancelText : [not required] The text of the secondary (right) button;
cancelFunction : [not required] The function to call when the secondary button is clicked by the user;景象:
UI_CreatePupup ( "icons/myIcon.png" , "Pop-up Title" , "Pop-up description" , "Ok" , ( ) => ok_function ( ) , "Cancel" , ( ) => cancel_function ( ) ) ;要創建烤麵包通知,您可以簡單地使用UI_CreatePupup()函數。
句法:
new ToastNotify ( icon , title , description ) ; icon : The relative path of your icon's image file;
title : The title of the toast notification;
description : [not required] The description (secondary text) of the notification.景象:
new ToastNotify ( "icons/myIcon.png" , "Toast notification" , "A simple notification" ) ;在線資源
由於
David R.在該項目上提供幫助。
禪宗設計有關UI/UX設計的建議。
該項目中使用的所有圖標均來自Icons8
如需支持,請發送電子郵件至[email protected]或加入Discord服務器。