?? ??? ??? API? ? ????? ???? ?? ??? ?? ?? ??? ??? ??? ??? ???? ?? ? ?? ???? ???????. ?? ???? ??? ?? ??? ?? ??? ???, IDE, ??? ?? ?? ? ??? ?? ??/???? ??? ???? ??? ? ??????? ?? ? ??? ???? ???? ?????. ? API ??? ???? ??? ?? ?????.
?? ??? : ?? ? ??
?? ??? ??? API ??? ??? ??? ?????. ?? API ??? ??? ???? ??? ??? ???? ?? ????????. ?? ???? ?? ???? ???????.
?? ?? : ?? ??
?? ??? ?? ?? ?? ?????.
?? ????; document.querySelector ( ". pick-file"). onclick = async () => { [FileHandle] = Await Window.ShowOpenFilePicker (); const file = await fileHandle.getFile (); const content = await file.text (); ?? ??; };
Assuming an HTML button with the class "pick-file", clicking this button triggers the file picker via window.showOpenFilePicker()
. The selected file's handle is stored in fileHandle
. ??? ??? ??? ???? ?????.
The fileHandle
object provides properties like kind
(either "file" or "directory") and name
.
// console.log (FileHandle)? ?? ?? FileSystemFileHandle {Kind : 'File', ?? : 'data.txt'}
fileHandle.getFile()
retrieves file details (last modified timestamp, name, size, type), and file.text()
extracts the file's content.
?? ??? ????
To read multiple files, pass an options object to showOpenFilePicker()
:
?? ????; const ?? = {?? : true}; document.querySelector ( ". pick-file"). onclick = async () => { FileHandles = Await Window.showoPenFilePicker (??); // ?? ??? ???? ?? (?? ??) };
The multiple
property (default: false
) enables multiple file selection. ?? ??? ?? ??? ?? ??? ?????. ?? ?? JPEG ??? ? ????? ??? ????.
const ?? = { ?? : [{?? : "???", ?? : { "image/jpeg": ".jpeg"}}], ExcludeAcceptalloption : true, };
?? ?? ?? :
const allcontent = await promise.all ( filehandles.map (async (filehandle) => { const file = await fileHandle.getFile (); const content = await file.text (); ?? ??; }) ); Console.log (AllContent);
??? ?? : ? ??
? ??? ???? ?? ?? ?????.
document.querySelector ( ". Save-File"). OnClick = async () => { const ?? = { ?? : [{?? : "??? ??", ?? : { "text/plain": [ ".txt"]}}], }; const ?? = Await Window.showsaveFilePicker (??); Const Writable = Await Handle.createWritable (); writable.write ( "Hello World"); writable.close ()? ?????. ?? ??; };
window.showSaveFilePicker()
opens the file save dialog. handle.createWritable()
creates a writable stream, writable.write()
writes data, and writable.close()
finalizes the write operation.
?? ?? ??
?? ??? ????? :
?? ????; document.querySelector ( ". pick-file"). onclick = async () => { [FileHandle] = Await Window.ShowOpenFilePicker (); const file = await fileHandle.getFile (); const Writable = await filehandle.createWritable (); writable.write ( "??? ??? ????"); // ??? ????? writable.close ()? ?????. };
? ??? ???? ?????. ?? ??? ??? ?? ???? ??????.
?? ??
?? ??? ??? API? ???? ?? ? ??/???? ??? ?????.
???? ??
document.querySelector ( ". read-dir"). onclick = async () => { const directoryHandle = Await Window.ShowDirectoryPicker (); ?? ? (directoryHandle.Values ??())? const intration {) { Console.log (Entry.kind, Entry.Name); } };
window.showDirectoryPicker()
selects a directory, and the loop iterates through its entries.
?? ? ???? ??
?? ?? :
document.querySelector ( ". pick-file"). onclick = async () => { const [filehandle] = await Window.showOpenFilePicker (); AWAIT FILEHANDLE.REMOVE (); };
???? ?? (?? ???) :
document.querySelector ( ". pick-folder"). onclick = async () => { const directoryHandle = Await Window.ShowDirectoryPicker (); directoryHandle.removeEntry ( 'data', {recursive : true}); };
???? ???
?? ??? ??? API? ?? ?????? ???? ??? ??? ? Caniuse.com?? ?? ?? ??? ??? ??????. A ponyfill like browser-fs-access
can address compatibility gaps.
??
? ??? ??? ?? ??? ??? API? ???? ????? ??? ? ???? ?????. ?? ?? ? ??? ?? ??? ?? ?? ??? ??? ?? ?? ????.
? ??? ?? ??? ??? API? ?????? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

??? ??











CSS? ??? ??? ????? ????? ??? ? ?? CSS? ????? ?? ??????, ?? ?? ? ??? ??, ??? ?? ?? ??? CSS ? ????? ?? ??? ?? ???? ???? ??? ??? ???. 1. ?? CSS? ???? HTML? ?? ?????. 2. JavaScript? ?? ??? CSS ??; 3. ??? ??? ???? ?? ???? ????? ??????. 4. CSS? ???? ???? ??? ????. ?? CSS? ???? ?? ??? ???? Rel = "Preload"?????? ????, ??? ?? ??? ????? ???? ??? ?? ? ??? ???? ??? ?????.

TheBestoproachforcssdspectionseproject'sspecificneeds.forlargerProjects, externalcsSisbetterduetomainabainabainabilitableability ? forsmallerprojectsorsingle-pageapplications, ?? csmightbemoresuitable.it 'scrucialtobalanceprojectsize, ??

???, cssdoesnothavetobeInlowercase. ???, lowercaseisRecomedended for : 1) ??? ? ??, 2) ??? ?? rorsinerrorsinerrorsIngerRorsIngerRorsInteChnologies, 3) ??? ?? ??, ? 4) ?? ? ???? ????.

cssismostlycase-Insensitive, buturlsandfamilynamesarecase-insensitive.1) propertiesandvalueslikecolor : red; anteOtcase-inditive.2) urlsmustmatchtheserver'scase, ?? ??,/images/logo.png.3) fontfamilynames'opens'mustoccase.

AutoPrefixer? ?? ???? ??? ???? ?? ?? ???? CSS ??? ???? ???? ?????. 1. ????? ???? ???? ???? ??? ?????. 2. PostCSS ???? ??, CSS? ?? ???? ???? ?? ???? ??? ???? ??? ?? ??? ?????. 3. ?? ???? ???? ??, ??????? ?? ? ?? ???????? ????? ?? ?????. 4. ???? ???? ???? ???? ?? ?? ????, ???? ?? ??? ?? ???? ???? ????? ?? ???? ?? ????.

CSSCOUNTERSCANAUTOMALLYNUMBERSESSESSENDS.1) USECOUNTER-RESETTIONITIALIZE, CORKENT-INCREMENTTOINCERES, andCOUNTER () ORCOUNTERS () TODISPLAYVALUES.2) COMPINEWITHJAVAISCRIPTORDINAMICCONTENTTOEREACCUTERUPDATES.

CSS?? ??? ? ?? ??? ?? ??? ???? ??, ??, URL ? ??? ?? ????? ?? ?? ??? ?????. 1. ???? ?? ??? ??? ? ???? ?? ?? ??? ??????. 2. ?? 16 ?? ??? ?? ??? ?????, ??? ???? ???? ?? ??? ??? ???? ????. 3. URL? ??? ???? ???? ??? ??? ? ????. 4. ??? ?? ?? (??)? ??? ???? ??? ? ???? ??????? ???????.

theconic-gradient () functionincsscreatescurcular gradientsthattroTecolorstopsaroundacentral point
