MCPcopy Create free account
hub / github.com/ampproject/amphtml / userInteractedWith

Function userInteractedWith

src/video-interface.js:583–585  ·  view source on GitHub ↗
(video)

Source from the content-addressed store, hash-verified

581
582/** @param {!AmpElement|!VideoOrBaseElementDef} video */
583export function userInteractedWith(video) {
584 video.signals().signal(VideoServiceSignals_Enum.USER_INTERACTED);
585}
586
587/**
588 * Classname that media components should annotate themselves with.

Callers 2

registerActionMethod · 0.90

Calls 2

signalMethod · 0.45
signalsMethod · 0.45

Tested by

no test coverage detected