Members
(constant) templateStyles
- Source:
Iterate through the injected Style object to style the payment form
Methods
addCSSRule(sheet, selector, rules, index)
- Source:
add Rules to the dynamically created Stylesheet
Parameters:
Name | Type | Description |
---|---|---|
sheet |
string | Stylesheet that is generated by createStyleSheet() |
selector |
string | selector that styles will be attached to |
rules |
string | style rules that will style the selector |
index |
Integer | stylesheet index |
createStyleSheet() → {StyleSheet}
- Source:
Create Stylesheet and append it to the head element of the page
Returns:
- Type
- StyleSheet