Modify this :class:`Data` object to behave as if the current node is the root node of the tree. This impacts the behavior of :meth:`rewind`, :meth:`next`, :meth:`prev`, and anything else that depends on the navigational state of the :class:`Data` object. Use :meth:`w
(self)
| 766 | return pn_data_lookup(self._data, name) |
| 767 | |
| 768 | def narrow(self) -> None: |
| 769 | """ |
| 770 | Modify this :class:`Data` object to behave as if the current node is the |
| 771 | root node of the tree. This impacts the behavior of :meth:`rewind`, |
| 772 | :meth:`next`, :meth:`prev`, and anything else that depends on the |
| 773 | navigational state of the :class:`Data` object. Use :meth:`widen` |
| 774 | to reverse the effect of this operation. |
| 775 | """ |
| 776 | pn_data_narrow(self._data) |
| 777 | |
| 778 | def widen(self) -> None: |
| 779 | """ Reverse the effect of :meth:`narrow`. """ |
no test coverage detected