style.getProperty(prop, options?)Retrieve the value of a specific css property in a Style object.
prop: StyleProperty - The property to get. See the Style Properties reference for a list of supported properties.
options: StyleOptions - An object that filters properties by breakpoint, pseudo-state, and/or variant. (Optional)
breakpoint: BreakpointId - Identifies the responsive breakpoint to get styles for.
pseudo: PseudoStateKey - Specifies a CSS pseudo-class to get styles for.
variantId: string - The ID of the variant to target. 'base' is not a valid value. (Optional)
Promise<PropertyMap[p] | Variable | null>
Returns a Promise that resolves to:
null - If value doesn’t exist for the provided style property, this method will return null.Checks for authorization only