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

Method show

pyquery/pyquery.py:962–969  ·  view source on GitHub ↗

Add display:block to elements style: >>> print(PyQuery(' ').show())

(self)

Source from the content-addressed store, hash-verified

960 return self.css('display', 'none')
961
962 def show(self):
963 """Add display:block to elements style:
964
965 >>> print(PyQuery('<div />').show())
966 <div style="display: block"/>
967
968 """
969 return self.css('display', 'block')
970
971 ########
972 # HTML #

Callers

nothing calls this directly

Calls 1

cssMethod · 0.95

Tested by

no test coverage detected