You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// only the instance itself and child components with inserted slot content.
213
+
ForceUpdatefunc() `js:"$forceUpdate"`
214
+
215
+
// vm.$nextTick( [callback] )
216
+
// Arguments:
217
+
// {Function} [callback]
218
+
// Usage:
219
+
// Defer the callback to be executed after the next DOM update cycle. Use it immediately after you’ve changed some data to wait for the DOM update. This is the same as the global Vue.nextTick, except that the callback’s this context is automatically bound to the instance calling this method.
220
+
NextTickfunc(cbfunc()) `js:"$nextTick"`
221
+
282
222
// vm.$destroy( [remove] )
283
223
// remove Boolean optional
284
224
// Completely destroy a vm.
285
225
// Clean up its connections with other existing vms,
286
226
// unbind all its directives and remove its $el from the DOM.
287
227
// Also, all $on and $watch listeners will be automatically removed.
288
228
Destroyfunc(removebool) `js:"$destroy"`
289
-
290
-
// vm.$addChild( [options, constructor] )
291
-
// options Object optional
292
-
// constructor Function optional
293
-
//
294
-
// Adds a child instance to the current instance.
295
-
// The options object is the same in manually instantiating an instance.
296
-
// Optionally you can pass in a constructor created from Vue.extend().
297
-
//
298
-
// There are three implications of
299
-
// a parent-child relationship between instances:
300
-
// The parent and child can communicate via the event system.
301
-
// The child has access to all parent assets (e.g. custom directives).
302
-
// The child, if inheriting parent scope,
303
-
// has access to parent scope data properties.
304
-
AddChildfunc(options js.M) `js:"$addChild"`
305
-
306
-
// vm.$log( [keypath] )
307
-
//
308
-
// keypath String optional
309
-
// Log the current instance data as a plain object, which is more
310
-
// console-inspectable than a bunch of getter/setters.
311
-
// Also accepts an optional key.
312
-
//
313
-
// vm.$log() // logs entire ViewModel data
314
-
// vm.$log('item') // logs vm.item
315
-
Logfunc(keypath...interface{}) `js:"$log"`
316
-
317
-
// Defer the callback to be executed after the next DOM update cycle.
318
-
// Use it immediately after you’ve changed some data to
319
-
// wait for the DOM update. This is the same as the global
320
-
// Vue.nextTick, except that the callback’s this context is
321
-
// automatically bound to the instance calling this method.
322
-
NextTickfunc(cbfunc()) `js:"$nextTick"`
323
229
}
324
230
325
231
// New creates a VueJS Instance to apply bidings between `structPtr` and
0 commit comments