attrs
Keep attributes live to a can.compute.
live.attrs(el, compute, currentValue)
Keep attributes live to a can.compute.
Parameters
-
el
{HTMLElement}
The element whos attributes will be kept live.
-
compute
{can.compute(getterSetter, context)}
The compute.
-
currentValue
{*}
Use