Sha256: 2153a55939f71b642fa2dbe443dc7221b490f9252e8059d9d496ea32ae814b65
Contents?: true
Size: 462 Bytes
Versions: 18
Compression:
Stored size: 462 Bytes
Contents
export class VNavigates { constructor(options, params, event, root) { this.direction = params.direction; } call(results) { const direction = this.direction; return new Promise(function(resolve) { results.push({action: 'navigates', statusCode: 200}); resolve(results); switch (direction) { case 'back': window.history.back(); case 'forward': window.history.forward(); } }); } }
Version data entries
18 entries across 18 versions & 2 rubygems