pull/15961/head
Rich Harris 4 months ago
parent df7fb8d580
commit 1a1db41293

@ -87,7 +87,7 @@ export function build_set_attributes(
context.state.init.push(
b.stmt(
b.call(
'$.set_attribute_effect',
'$.attribute_effect',
element_id,
b.arrow(
expressions.map((_, i) => b.id(`$${i}`)),

@ -466,7 +466,7 @@ export function set_attributes(element, prev, next, css_hash, skip_warning = fal
* @param {string} [css_hash]
* @param {boolean} [skip_warning]
*/
export function set_attribute_effect(
export function attribute_effect(
element,
fn,
thunks = [],

@ -28,7 +28,7 @@ export {
remove_input_defaults,
set_attribute,
set_attributes,
set_attribute_effect,
attribute_effect,
set_custom_element_data,
set_xlink_attribute,
set_value,

Loading…
Cancel
Save