MCPcopy
hub / github.com/baidu/amis / PageGoAction

Class PageGoAction

packages/amis-core/src/actions/PageAction.ts:41–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 * @implements {Action}
40 */
41export class PageGoAction implements RendererAction {
42 async run(
43 action: IPageGoAction,
44 renderer: ListenerContext,
45 event: RendererEvent<any>
46 ) {
47 window.history.go(action.args?.delta || 0);
48 }
49}
50
51/**
52 * 浏览器刷新

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected