jsquery_node 1.0.10 → 1.0.11

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/jsquery.js CHANGED
@@ -204,8 +204,8 @@ export const { $, JSQuery } = (() => {
204
204
  }
205
205
  checked(val) {
206
206
  if (val == undefined)
207
- return this.getProp("checked") !== null;
208
- this.props({ checked: val ? "" : null });
207
+ return this.checked;
208
+ this.checked = val;
209
209
  return this;
210
210
  }
211
211
  //events
package/jsquery.ts CHANGED
@@ -211,8 +211,8 @@ export const { $, JSQuery } = (() => {
211
211
  checked(): boolean;
212
212
  checked(val: boolean): this;
213
213
  checked(val?: boolean): boolean| this {
214
- if (val == undefined) return this.getProp("checked") !== null;
215
- this.props({checked: val? "": null});
214
+ if (val == undefined) return (this as any).checked;
215
+ (this as any).checked = val;
216
216
  return this;
217
217
  }
218
218
  //events
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsquery_node",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "jsquery",
5
5
  "homepage": "https://github.com/chickencuber/jsquery_node#readme",
6
6
  "bugs": {