customizable_select() — svelte Function Reference
Architecture documentation for the customizable_select() function in customizable-select.js from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD e9a0e17b_a5c4_9e91_43b2_5002e68d1eaf["customizable_select()"] 4871424a_ea24_562e_42c1_423f3652e63b["customizable-select.js"] e9a0e17b_a5c4_9e91_43b2_5002e68d1eaf -->|defined in| 4871424a_ea24_562e_42c1_423f3652e63b c5c0dafa_0d9f_81e0_43ed_031570d81357["is_supported()"] e9a0e17b_a5c4_9e91_43b2_5002e68d1eaf -->|calls| c5c0dafa_0d9f_81e0_43ed_031570d81357 f5b61c69_d41c_bdb7_b931_5b8b3374332c["set_hydrating()"] e9a0e17b_a5c4_9e91_43b2_5002e68d1eaf -->|calls| f5b61c69_d41c_bdb7_b931_5b8b3374332c ad2d3e5b_92c4_44cd_6972_84b884432025["create_comment()"] e9a0e17b_a5c4_9e91_43b2_5002e68d1eaf -->|calls| ad2d3e5b_92c4_44cd_6972_84b884432025 ace40ef0_8734_2f17_9d6e_35e08f332e08["reset()"] e9a0e17b_a5c4_9e91_43b2_5002e68d1eaf -->|calls| ace40ef0_8734_2f17_9d6e_35e08f332e08 40f27ad3_30bb_8f2a_3fb3_757088cf7428["set_hydrate_node()"] e9a0e17b_a5c4_9e91_43b2_5002e68d1eaf -->|calls| 40f27ad3_30bb_8f2a_3fb3_757088cf7428 style e9a0e17b_a5c4_9e91_43b2_5002e68d1eaf fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/src/internal/client/dom/elements/customizable-select.js lines 77–98
export function customizable_select(element, rich_fn) {
var was_hydrating = hydrating;
if (!is_supported()) {
set_hydrating(false);
element.textContent = '';
element.append(create_comment(''));
}
try {
rich_fn();
} finally {
if (was_hydrating) {
if (hydrating) {
reset(element);
} else {
set_hydrating(true);
set_hydrate_node(element);
}
}
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does customizable_select() do?
customizable_select() is a function in the svelte codebase, defined in packages/svelte/src/internal/client/dom/elements/customizable-select.js.
Where is customizable_select() defined?
customizable_select() is defined in packages/svelte/src/internal/client/dom/elements/customizable-select.js at line 77.
What does customizable_select() call?
customizable_select() calls 5 function(s): create_comment, is_supported, reset, set_hydrate_node, set_hydrating.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free