Inserts a set of Node objects or string objects after the last child of the Element. String objects are inserted as equivalent Text nodes. @param context the context @param scope the scope @param thisObj this object @param args the arguments @param function the function
(final Context context, final VarScope scope,
final Scriptable thisObj, final Object[] args, final Function function)
| 1725 | * @param function the function |
| 1726 | */ |
| 1727 | @JsxFunction |
| 1728 | public static void append(final Context context, final VarScope scope, |
| 1729 | final Scriptable thisObj, final Object[] args, final Function function) { |
| 1730 | if (!(thisObj instanceof Element)) { |
| 1731 | throw JavaScriptEngine.typeError("Illegal invocation"); |
| 1732 | } |
| 1733 | |
| 1734 | Node.append(context, thisObj, args, function); |
| 1735 | } |
| 1736 | |
| 1737 | /** |
| 1738 | * Inserts a set of Node objects or string objects before the first child of the Element. |
no test coverage detected