ViewQuery

baja. ViewQuery

new ViewQuery(body)

Description:
  • ViewQuery defines user agent information.

Source:
Parameters:
Name Type Description
body String | Object

the view query body or an object literal for
the view id and parameters.

Properties
Name Type Attributes Description
id String <optional>

view id.

params Object <optional>

view parameters (key value pairs in an Object Literal).

Extends

  • OrdQuery

Methods

getParameters() → {Object}

Description:
  • Return the view parameters as an object literal.

    Please note, this returns a defensive copy of the parameters.

Source:
Returns:

the parameters.

Type
Object

getViewId() → {String}

Description:
  • Return the view id (this could be view type spec or the name of a Px view).

Source:
Returns:
Type
String