D3.js中的selection.node()函數用於返回選擇中的第一個元素。如果選擇內容不包含任何元素,則返回null。 用法: selection.node(). 參數:該函數不接受任何參數。
確定! 回上一頁