CodeMeltedRuntime class

Binds a series of properties and utility methods that are specific to the web runtime.

Constructors

CodeMeltedRuntime()
Sets up the internal instance for this object.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isPWA bool
Determines if the web app is an installed PWA or not.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addEventListener({required String type, required CHtmlEventListener listener, EventTarget? obj}) → void
Connects a CHtmlEventListener to either the window or an event target object.
copyToClipboard({required String data}) Future<void>
Copies data to the system clipboard
environment({required String key}) String?
Searches the URLSearchParams for any passed key values.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open({required CSchemeType scheme, bool popupWindow = false, CMailToParams? mailtoParams, String? url, String target = "_blank", double? width, double? height}) Future<Window?>
Loads a specified resource into a new or existing browsing context (that is, a tab, a window, or an iframe) under a specified name. These are based on the different CSchemeType supported protocol items.
print() → void
Will print the current web page.
removeEventListener({required String type, required CHtmlEventListener listener, EventTarget? obj}) → void
Removes a CHtmlEventListener to either the window or an event target object.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited