{"id":18929057,"date":"2026-06-04T20:48:57","date_gmt":"2026-06-04T20:48:57","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/documentation-for-js\/"},"modified":"2026-06-04T20:48:57","modified_gmt":"2026-06-04T20:48:57","slug":"documentation-for-js","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/documentation-for-js\/","title":{"rendered":"Documentation for JS??"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I wanted to browse any documentation in order to add some custom JS functionality. I want the layers (icons you click) on the graphic to have some sort of active class so that the one corresponding to the currently active tooltip will have a class or data attribute to latch onto so I can add some CSS to make the icon look different when it is active. The link to the repo in the plugin page FAQ is broken. Any help you can provide would be much appreciated.<\/p>\n","protected":false},"template":"","class_list":["post-18929057","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18929057","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18929057\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18929057"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}