@taole/dev-helper 0.0.13 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Tdiv/index.js +2 -0
- package/dist/tdiv.umd.js +2 -0
- package/package.json +1 -1
package/Tdiv/index.js
CHANGED
|
@@ -209,6 +209,8 @@ class Tdiv extends HTMLElement {
|
|
|
209
209
|
const onClickAttr = this._getAttr('onClick');
|
|
210
210
|
if (onClickAttr && typeof window[onClickAttr] === 'function') {
|
|
211
211
|
window[onClickAttr](e);
|
|
212
|
+
} else if(onClickAttr && typeof onClickAttr === 'function') {
|
|
213
|
+
onClickAttr(e);
|
|
212
214
|
}
|
|
213
215
|
}
|
|
214
216
|
}
|
package/dist/tdiv.umd.js
CHANGED