"use strict";(self.webpackChunk_d3plus_docs=self.webpackChunk_d3plus_docs||[]).push([[3907],{"./packages/dom/elem.stories.jsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>elem_stories});__webpack_require__("../../node_modules/next/dist/compiled/react/index.js");const elem_stories={title:"Dom/elem",argTypes:{params:{control:{type:"object"},description:"Additional parameters.",table:{defaultValue:{summary:"undefined"}},type:{required:!0,summary:"object"}},"params.condition":{control:{type:"boolean"},defaultValue:!0,description:"Whether or not the element should be rendered (or removed).",table:{defaultValue:{summary:!0}},type:{required:!1,summary:"boolean"}},"params.duration":{control:{type:"number"},defaultValue:0,description:"The duration for the d3 transition.",table:{defaultValue:{summary:0}},type:{required:!1,summary:"number"}},"params.enter":{control:{type:"object"},defaultValue:"{}",description:"A collection of key/value pairs that map to attributes to be given on enter.",table:{defaultValue:{summary:"{}"}},type:{required:!1,summary:"object"}},"params.exit":{control:{type:"object"},defaultValue:"{}",description:"A collection of key/value pairs that map to attributes to be given on exit.",table:{defaultValue:{summary:"{}"}},type:{required:!1,summary:"object"}},"params.parent":{control:{type:"d3selection"},defaultValue:'d3.select("body")',description:"The parent element for this new element to be appended to.",table:{defaultValue:{summary:'d3.select("body")'}},type:{required:!1,summary:"d3selection"}},"params.update":{control:{type:"object"},defaultValue:"{}",description:"A collection of key/value pairs that map to attributes to be given on update.",table:{defaultValue:{summary:"{}"}},type:{required:!1,summary:"object"}},selector:{control:{type:"text"},description:"A D3 selector, which must include the tagname and a class and/or ID.",table:{defaultValue:{summary:"undefined"}},type:{required:!0,summary:"string"}}},parameters:{docs:{description:{component:"Manages the enter/update/exit pattern for a single DOM element."}}}}}}]);