Set.bind(…)
优质
小牛编辑
128浏览
2023-12-01
Specifies how to handle a specific attribute when applied to a set.
Parameters
- attrstringattribute name
- callbackfunctionfunction to run
or
Parameters
- attrstringattribute name
- elementElementspecific element in the set to applythe attribute to
or
Parameters
- attrstringattribute name
- elementElementspecific element in the set to applythe attribute to
- eattrstringattribute on the element to bind theattribute to
Returns: object Set object