We can solve this bug by adding jquery code into the docs.js file.
//Toggle api details section. $(".detail-control").addClass('collapse'); $("#expand-all").click(function () { $(".detail-control").toggleClass('collapse'); $(this).text("Hide All"); });
In the above code hiding all the api section first and when we click on the "Show All" button it shows all the api section and changing the button text to "Hide All".
We can solve this bug by adding jquery code into the docs.js file.
//Toggle api details section. control" ).addClass( 'collapse' ); all").click( function () { control" ).toggleClass( 'collapse' ); .text(" Hide All");
$(".detail-
$("#expand-
$(".detail-
$(this)
});
In the above code hiding all the api section first and when we click on the "Show All" button it shows all the api section and changing the button text to "Hide All".