MCPcopy Create free account
hub / github.com/gawel/pyquery / width

Method width

pyquery/pyquery.py:826–829  ·  view source on GitHub ↗

set/get width of element

(self, value=no_default)

Source from the content-addressed store, hash-verified

824 return self.attr('height', value)
825
826 def width(self, value=no_default):
827 """set/get width of element
828 """
829 return self.attr('width', value)
830
831 @with_camel_case_alias
832 def has_class(self, name):

Callers

nothing calls this directly

Calls 1

attrMethod · 0.95

Tested by

no test coverage detected