Module

showQuery

Contains the related methods to display the query text of the witdget in a modal.

View Source mixins/showquery.js, line 66

Methods

# closeInfoQuery()

Close the modal with the widget query.

View Source mixins/showquery.js, line 131

# openInfoQuery()

Open the modal with the widget query.

View Source mixins/showquery.js, line 120

# setInfoQuery(content, optionsopt)

Set the query text of the widget to be displayed.

Parameters:
Name Type Attributes Description
content Object
title string

Text with the title

query string | Array.<object>

Text with the query or an array of queries. i.e: [{title: '', query:''}]

options Object <optional>
pragmas boolean

Indicates if pragmas will be displayed.

white_spaces boolean

Indicates that white spaces will be removed.

notice Object <optional>
notice.text boolean

Text to be displayed as a notice.

notice.style boolean

Text with the name of the style class to apply to the content of the notice.

View Source mixins/showquery.js, line 111