以此類推,有 focusNode 就也會有 focusOffset : let selectionObj = window.getSelection(); console.log(selectionObj.focusOffset); // 一個number,代表與節點 ...
確定! 回上一頁