You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.
Motivation
To be able customize what happens when a page isn't part of DOM and isn't possible use buildin ajax handler that expects pre-formated text/html as a response, id as url. etc.
e.g.
-> 1 register callback
-> 2 changePage call
-> 3 it looks into DOM if the page exists
no
-> 4. on-page-load-callback call
returns page as string | element
-> 4.1 skip .ajax and integrate the string | element as a page
nothing
-> 4.2 use ajax call
Thanks!
The text was updated successfully, but these errors were encountered:
Motivation
To be able customize what happens when a page isn't part of DOM and isn't possible use buildin ajax handler that expects pre-formated text/html as a response, id as url. etc.
e.g.
-> 1 register callback
-> 2 changePage call
-> 3 it looks into DOM if the page exists
no
-> 4. on-page-load-callback call
returns page as string | element
-> 4.1 skip .ajax and integrate the string | element as a page
nothing
-> 4.2 use ajax call
Thanks!
The text was updated successfully, but these errors were encountered: