ApiProvider._registerPostProcessor

On each call, you can register another post processor for the generated html. If your delegate takes a Document, it will only run on document envelopes (full pages generated). If you take an Element, it will apply on almost any generated html.

Note: if you override _postProcess or _postProcessElement, be sure to call the superclass version for these registered functions to run.

  1. void _registerPostProcessor(void delegate(Document) pp)
  2. void _registerPostProcessor(void delegate(Element) pp)
  3. void _registerPostProcessor(void function(Document) pp)
  4. void _registerPostProcessor(void function(Element) pp)
    class ApiProvider
    void
    _registerPostProcessor
    (
    void function
    (
    Element
    )
    pp
    )

Meta