Skip to content

When page is fully rendered event #2403

Closed
@OnkelTem

Description

@OnkelTem

How to track the moment when all views are fully rendered?

I need this to set ready attr on <html> element which in its turn is used at server side in a phantomjs script to feed pages back to a search engine bot.

I was trying to use $viewContentLoading/$viewContentLoaded events but given up: they are not paired and are called multiple times in an order which I can't comprehend. The last thing I was hoping on - the second view parameter of $viewContentLoaded, but it's always NULL.

Any ideas?

Related issues: #685 and #2003 . The former seems to be fixing the mess with $viewContentLoading/$viewContentLoaded, but I wonder - is it possible to achieve what I want on 0.2.15

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions