Skip to content

Commit 7970520

Browse files
committed
Add delete to JsTools, this allows to delete properties on JsObjects
1 parent baf1f97 commit 7970520

File tree

1 file changed

+2
-0
lines changed
  • src/main/java/com/axellience/vuegwt/client/tools

1 file changed

+2
-0
lines changed

src/main/java/com/axellience/vuegwt/client/tools/JsTools.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ public class JsTools
6464

6565
public static native boolean isUndefined(Object value);
6666

67+
public static native boolean delete(Object object, String property);
68+
6769
@JsIgnore
6870
public static <T> T get(Object o, int index)
6971
{

0 commit comments

Comments
 (0)