Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sveltejs/svelte
/ effect
Function
effect
packages/svelte/src/internal/client/reactivity/effects.js:300–302 ·
view source on GitHub ↗
(fn)
Source
from the content-addressed store, hash-verified
298
* @returns {Effect}
299
*/
300
export
function
effect(fn) {
301
return
create_effect(EFFECT, fn);
302
}
303
304
/**
305
* Internal representation of `$: ..`
Callers
12
append_styles
Function · 0.90
action
Function · 0.90
attribute_effect
Function · 0.90
transition
Function · 0.90
attach
Function · 0.90
bind_select_value
Function · 0.90
bind_playback_rate
Function · 0.90
bind_paused
Function · 0.90
bind_element_size
Function · 0.90
bind_this
Function · 0.90
bind_window_scroll
Function · 0.90
test.ts
File · 0.90
Calls
1
create_effect
Function · 0.85
Tested by
no test coverage detected