Add display:none to elements style: >>> print(PyQuery(' ').hide())
(self)
| 951 | # CORE UI EFFECTS # |
| 952 | ################### |
| 953 | def hide(self): |
| 954 | """Add display:none to elements style: |
| 955 | |
| 956 | >>> print(PyQuery('<div style="display:none;"/>').hide()) |
| 957 | <div style="display: none"/> |
| 958 | |
| 959 | """ |
| 960 | return self.css('display', 'none') |
| 961 | |
| 962 | def show(self): |
| 963 | """Add display:block to elements style: |