MCPcopy Create free account
hub / github.com/ampproject/amphtml / GetAlsoRequiresAttr

Method GetAlsoRequiresAttr

validator/validator.pb.go:1220–1225  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1218}
1219
1220func (x *AttrTriggerSpec) GetAlsoRequiresAttr() []string {
1221 if x != nil {
1222 return x.AlsoRequiresAttr
1223 }
1224 return nil
1225}
1226
1227// Used for validating properties in attribute values. Our validator
1228// (via parse-viewport.h) implements the parsing algorithm as described here:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected