MCPcopy Create free account
hub / github.com/cutedCha/noteBoook / getComputedStyleValue

Function getComputedStyleValue

tests/touch-target.property.test.js:73–75  ·  view source on GitHub ↗

* Helper function to get computed style value * @param {HTMLElement} element - DOM element * @param {string} property - CSS property name * @returns {string} Computed style value

(element, property)

Source from the content-addressed store, hash-verified

71 * @returns {string} Computed style value
72 */
73 function getComputedStyleValue(element, property) {
74 return window.getComputedStyle(element).getPropertyValue(property);
75 }
76
77 /**
78 * Helper function to check if element meets minimum touch target size

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected