This reference documents the Listings Javascript object.

Basic Use

 jQuery(document).ready(function( $ ) {
     var listing = new Listings({
       single_listing : <?php echo json_encode($listing) ?>
     });
     
     listing.init();
   });

Parameters

ArgumentDescriptionExample
list
active_filters
aoData
default_filters
filter
filter_override
from_back_button
hook
is_new_search
map
poi
property_ids
search_hash
single_listing
sort_by
sort_type
sSource