MCPcopy
hub / github.com/sveltejs/svelte / clear_text_content

Function clear_text_content

packages/svelte/src/internal/client/dom/operations.js:217–219  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

215 * @returns {void}
216 */
217export function clear_text_content(node) {
218 node.textContent = '';
219}
220
221/**
222 * Returns `true` if we're updating the current block, for example `condition` in

Callers 3

hydrateFunction · 0.90
pause_effectsFunction · 0.90
remove_textarea_childFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected