Output information message. :param contents: Message contents. The item is ``put_xxx()`` call, and any other type will be converted to ``put_text(content)``. :param bool closable: Whether to show a dismiss button on the right of the message. :param int scope, position: Those argu
(*contents: Any, closable: bool = False, scope: str = None,
position: int = OutputPosition.BOTTOM)
| 418 | |
| 419 | |
| 420 | def put_info(*contents: Any, closable: bool = False, scope: str = None, |
| 421 | position: int = OutputPosition.BOTTOM) -> Output: |
| 422 | """Output information message. |
| 423 | |
| 424 | :param contents: Message contents. |
| 425 | The item is ``put_xxx()`` call, and any other type will be converted to ``put_text(content)``. |
| 426 | :param bool closable: Whether to show a dismiss button on the right of the message. |
| 427 | :param int scope, position: Those arguments have the same meaning as for `put_text()` |
| 428 | |
| 429 | .. versionadded:: 1.2 |
| 430 | """ |
| 431 | return _put_message(color='info', contents=contents, closable=closable, scope=scope, position=position) |
| 432 | |
| 433 | |
| 434 | def put_success(*contents: Any, closable: bool = False, scope: str = None, |
no test coverage detected
searching dependent graphs…