APIv4 Explorer - Add "copy" button and output executable php
authorColeman Watts <coleman@civicrm.org>
Sun, 6 Mar 2022 16:57:54 +0000 (11:57 -0500)
committerColeman Watts <coleman@civicrm.org>
Sun, 6 Mar 2022 17:08:47 +0000 (12:08 -0500)
commitd0f217d952a52fd5130b320dffa34117f328e1e5
treef96d4c8a0ea2c741f329dbffb3fd3eb245197ea2
parent0868278c513870f389d5d3cb315fe313b002281c
APIv4 Explorer - Add "copy" button and output executable php

Makes it easy to select and copy generated code.

This makes the "Export" action easier to use, a "Copy" button automatically
selects text, and the PHP formatted code begins with "return" and ends with a semicolon.
ang/api4Explorer/Explorer.html
ang/api4Explorer/Explorer.js