# innovaphone SqlConsole

## Include

To use SqlConsole, include the following JavaScript files in your HTML page:

    <script src="web/ui1.svg/innovaphone.ui1.svg.js" type="text/javascript"></script>
    <script src="web/sqlconsole/innovaphone.sqlconsole.js" type="text/javascript"></script>

## Usage

The SqlConsole can be created using the following constructor:

    new innovaphone.SqlConsole(style, app, path);

### Parameters

- style – CSS string for the created DIV container.
- app – Connection to the AppService (innovaphone.appwebsocket.Connection).
- path (optional) – localStorage path, default: `"sql-console"`.

## Short Example

    var sql = new innovaphone.SqlConsole("width:80%; height:80%;", app);

This object creates a SQL console with the specified style and binds it to the given AppService connection object.