Get Mobile Header Element

Get Mobile Header Element - kintone.mobile.app.getHeaderSpaceElement()

Retrieves the empty space element below the header of the record for smartphones, i.e. the space highlighted in the below images.

Record List View

The retrieved element is between the View name and the Record List.

Record List View (Calendar)

The retrieved element is below the black header.

Record Details Page

The retrieved element is between the Record Title and the Details/Comments/History tabs.

Record Edit Page

The retrieved element is between the Record Title and the Details/Comments/History tabs.

Record Create Page

The retrieved element is between "New record" and the Details tab.

Function

kintone.mobile.app.getHeaderSpaceElement()

Parameters

None

Returns

  • The element of the empty space element below the header of the record is returned.
  • Null is returned for pages where it cannot be used.

Sample

1
var el = kintone.mobile.app.getHeaderSpaceElement();

Available Pages

  • Record List
  • Record Details
  • Record Edit
  • Record Create