Electron API yog dab tsi?
Electron API yog dab tsi?

Video: Electron API yog dab tsi?

Video: Electron API yog dab tsi?
Video: Trinary Time Capsule 2024, Tej zaum
Anonim

Hluav taws xob JS siv lub vev xaib thev naus laus zis zoo li HTML yooj yim, CSS, thiab JavaScript. Nws tsis tas yuav muaj kev txawj ntse tshwj tsis yog tias koj xav ua ib yam dab tsi zoo. Nws tuaj yeem tsim los rau ib qho browser. Nws cov ntaub ntawv system belongs rau Node.js APIs thiab ua haujlwm ntawm Linux, Mac OS X, Qhov rai.

Tsis tas li ntawd, electron txheej txheem yog dab tsi?

Main thiab Renderer Cov txheej txheem Hauv Hluav taws xob , cov txheej txheem uas khiav pob. json's main script is called the main txheej txheem . Txij li thaum Hluav taws xob siv Chromium los tso saib cov nplooj ntawv web, Chromium's multi- txheej txheem architecture kuj tseem siv tau. Txhua lub vev xaib hauv Hluav taws xob khiav hauv nws tus kheej txheej txheem , uas yog hu ua renderer txheej txheem.

Ib yam li ntawd, daim ntawv thov electron yog dab tsi? Hluav taws xob yog ib lub moj khaum tsim cov haiv neeg daim ntawv thov nrog web technologies xws li JavaScript, HTML, thiab CSS. Nws saib xyuas qhov nyuaj kom koj tuaj yeem tsom mus rau qhov tseem ceeb ntawm koj daim ntawv thov.

Qhov thib ob, electron code yog dab tsi?

Hluav taws xob (yav tas los hu ua Atom Plhaub) yog qhov qhib-qhov chaw tsim thiab tswj los ntawm GitHub. Hluav taws xob tso cai rau kev txhim kho ntawm desktop GUI daim ntawv thov siv lub vev xaib thev naus laus zis: Nws txuas nrog Chromium rendering engine thiab Node.js runtime.

Puas yog electron renderer?

“ Hluav taws xob "yog tus txheej txheem tseem ceeb, ib qho" Hluav taws xob Helper" yog txheej txheem GPU, thiab lwm yam " Hluav taws xob Helpers” yog tus renderer txheej txheem.

Pom zoo: