Skip to content

$p.responsive

Overview

This method gets the status of whether the responsive style is enabled. Use this to control script execution depending on the status of the responsive style.

How To Use

JavaScript
$p.responsive()

Code Samples

If responsive style is enabled, the import and export buttons will be hidden. Set the following sample code to the Pleasanter script and set the output destination to "List".

JavaScript
if ($p.responsive()) {
    $('#EditImportSettings').hide();
    $('#OpenExportSelectorDialogCommand').hide();
}