on_meta Event

Fired when a meta section is encountered.

Syntax

class RESTMetaEventParams(object):
  @property
  def text() -> str: ...

# In class REST:
@property
def on_meta() -> Callable[[RESTMetaEventParams], None]: ...
@on_meta.setter
def on_meta(event_hook: Callable[[RESTMetaEventParams], None]) -> None: ...

Remarks

The on_meta event is fired whenever a meta information section (<! ..text... >) is found in the document.

The full text of the meta section is provided by the Text parameter.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Python Edition - Version 20.0 [Build 8307]