Clear/reset a dmx.app.data.serverconnect

@Patrick @Teodor

Any idea how can I clear/reset/null/destroy/oblitarate an AC server connect object from within the dmx namespace?

dmx-on:input.debounce:250="value ? serverconnect1.load({query: value}) : do what?"

Basically I need to clear the data or the object itself if the input value is empty.

I could use static js and the input event and dmx.parse the SC load and then null dmx.app.data.serverconnect1.data if input is empty but I don’t know if there is a better approach.

Community Page
Last updated: