type github.com/google/safehtml.StyleSheet
16 uses
github.com/google/safehtml (current package)
init.go#L34: func styleSheetRaw(s string) StyleSheet {
init.go#L35: return StyleSheet{s}
stylesheet.go#L24: type StyleSheet struct {
stylesheet.go#L37: func StyleSheetFromConstant(styleSheet stringConstant) StyleSheet {
stylesheet.go#L38: return StyleSheet{string(styleSheet)}
stylesheet.go#L48: func CSSRule(selector string, style Style) (StyleSheet, error) {
stylesheet.go#L50: return StyleSheet{}, fmt.Errorf("selector %q contains '<'", selector)
stylesheet.go#L54: return StyleSheet{}, fmt.Errorf("selector %q contains %q, which is disallowed outside of CSS strings", selector, matches[0])
stylesheet.go#L57: return StyleSheet{}, fmt.Errorf("selector %q contains unbalanced () or [] brackets", selector)
stylesheet.go#L59: return StyleSheet{fmt.Sprintf("%s{%s}", selector, style.String())}, nil
stylesheet.go#L109: func (s StyleSheet) String() string {
github.com/google/safehtml/legacyconversions
legacyconversions.go#L27: var styleSheet = raw.StyleSheet.(func(string) safehtml.StyleSheet)
legacyconversions.go#L52: func RiskilyAssumeStyleSheet(s string) safehtml.StyleSheet {
github.com/google/safehtml/template
sanitizers.go#L585: if safeTypeValue, ok := safehtmlutil.Indirect(args[0]).(safehtml.StyleSheet); ok {
github.com/google/safehtml/uncheckedconversions
uncheckedconversions.go#L32: var styleSheet = raw.StyleSheet.(func(string) safehtml.StyleSheet)
uncheckedconversions.go#L111: func StyleSheetFromStringKnownToSatisfyTypeContract(s string) safehtml.StyleSheet {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |