Improve the LOM documentation page with Accordion


    Dec 31 2017 | 7:13 pm
    The LOM page is very verbose, and navigating it is daunting. It helps to collapse all the details for functions/properties/etc, and then reveal them as needed with a click. To do this, just inject a little jquery-based js into the page. You can do this by typing it in the developer console: $("h5").each(function(){ $(this).siblings().hide(); }); $("h5").click(function(){ $(this).siblings().toggle()}); ...until some Cycling admin thinks this might be a nice improvement to the page.

    • Dec 31 2017 | 8:48 pm
      Agree!
    • Aug 13 2019 | 7:00 pm
      Examples would be much more appreciated than verbose descriptions, and would be welcome in an accordion format that doesn't add to the length and complexity of documentation. I still don't really understand syntax and common uses. How is a api function formulated? Where are parameters placed? How about arguments? It's all arbitrary syntax someone created, but almost no examples to show things in a practical way.