MCPcopy Index your code
hub / github.com/JavaScriptRegenerated/yieldparser / canAnyHover

Method canAnyHover

src/media-query.test.ts:235–242  ·  view source on GitHub ↗
(context: MatchMediaContext)

Source from the content-addressed store, hash-verified

233 }
234
235 private canAnyHover(context: MatchMediaContext) {
236 switch (context.secondaryPointingDevice) {
237 case 'mouse':
238 return true;
239 default:
240 return this.canPrimaryHover(context);
241 }
242 }
243
244 matches(context: MatchMediaContext) {
245 const canHover =

Callers 1

matchesMethod · 0.95

Calls 1

canPrimaryHoverMethod · 0.95

Tested by

no test coverage detected