Retrieves the onCompletion event from the LmsClientContext. This event is emitted when the completion status is updated.
LmsClientContext
The context manager.
The onCompletion event handler.
this.register( useOnCompletion(this.contextManager), () => { console.log('Content has been completed!'); }); Copy
this.register( useOnCompletion(this.contextManager), () => { console.log('Content has been completed!'); });
Retrieves the onCompletion event from the
LmsClientContext
. This event is emitted when the completion status is updated.