Auto-generated admin panel for node.js with react ViewHelpers

Class

ViewHelpers()

Collection of helper methods available in the views

Classes

ViewHelpers

Methods

# bulkDeleteUrl(resourceId, recordIds, searchopt) → {string}

Returns url for a `bulkDelete` action in given Resource. Uses bulkActionUrl

Parameters:
Name Type Attributes Description
resourceId string

id to the resource

recordIds Array.<string>

separated by comma records

search string <optional>

optional query string

View Source adminjs/src/backend/utils/view-helpers/view-helpers.ts, line 329

# deleteUrl(resourceId, recordId, searchopt) → {string}

Returns url for a `delete` action in given Resource. Uses recordActionUrl

Parameters:
Name Type Attributes Description
resourceId string

id to the resource

recordId string

id to the record

search string <optional>

optional query string

View Source adminjs/src/backend/utils/view-helpers/view-helpers.ts, line 301

Type Definitions