๐Ÿ’ป ๊ณต๋ถ€ ๊ธฐ๋ก/๐ŸŽž๏ธ JavaScript

Element select();

  • -

Element select

input text๋‚˜ textarea ์š”์†Œ๋ฅผ ๋“œ๋ž˜๊ทธํ•œ ๋“ฏ์ด ์„ ํƒํ•˜๊ธฐ ์œ„ํ•ด ์‚ฌ์šฉ

 

select | selectAll

์‹œ๊ฐํ™”ํ•  ์š”์†Œ ์„ ํƒ

d3.select("body")
  .selectAll("p")
// ์‹คํ–‰

selectAll ์˜ ๊ฒฐ๊ณผ๊ฐ’

selection ๊ฐ์ฒด

Contents

ํฌ์ŠคํŒ… ์ฃผ์†Œ๋ฅผ ๋ณต์‚ฌํ–ˆ์Šต๋‹ˆ๋‹ค

์ด ๊ธ€์ด ๋„์›€์ด ๋˜์—ˆ๋‹ค๋ฉด ๊ณต๊ฐ ๋ถ€ํƒ๋“œ๋ฆฝ๋‹ˆ๋‹ค.