Don't run this on expensive equipment as it may have ECC RAM which will ruin your fun
ZDNET RECOMMENDS
。关于这个话题,新收录的资料提供了深入分析
Historically creating these kinds of controls has required JavaScript event listeners added to the button which can then call the APIs on the element they control. The commandForElement and command properties provide a way to do this declaratively for a limited set of actions. This can be advantageous for built-in commands as the user does not have to wait for JavaScript to download and execute to make these buttons interactive.
Follow topics & set alerts with myFT
Что думаешь? Оцени!