Database Api

Let us manage the database engines for your applications so you can focus on building.

Getting Started

Basics

Fruitcake chupa chups gingerbread sweet roll pie. Tootsie roll sweet roll pudding. Pastry liquorice wafer sweet. Chocolate bar jelly sugar plum cake sesame snaps gummies lollipop. Oat cake gummies cheesecake cake biscuit jelly beans. Muffin cheesecake sesame snaps. Donut lollipop chocolate cake. Muffin cheesecake sesame snaps. Donut lollipop chocolate cake.

// Javascript Hello World!
function hello(x) {
console.log('hello, ' + x + '!');
};
const hi = x => {
console.log(`hi, ${x}`);
};
hello('world'); 

Powder cake gummies jelly beans toffee carrot cake bonbon powder muffin. Jujubes candy jelly-o topping lemon drops.

var mycar = {make: 'Honda', model: 'Accord', year: 1998};
var x = mycar.make; // x gets the value "Honda"
Extending

Candy canes jelly beans donut gummies gummi bears halvah oat cake marzipan. Bear claw apple pie dragée gummi bears soufflé toffee. Tiramisu bear claw jelly-o marshmallow topping jelly beans ice cream candy canes cake.

function factorial(n) {
if ((n === 0) || (n === 1))
return 1;
else
return (n * factorial(n - 1));
}
var a, b, c, d, e;
a = factorial(1); // a gets the value 1
b = factorial(2); // b gets the value 2
c = factorial(3); // c gets the value 6
d = factorial(4); // d gets the value 24
e = factorial(5); // e gets the value 120

Reference

Properties

Pastry liquorice wafer sweet. Chocolate bar jelly sugar plum cake sesame snaps gummies lollipop. Oat cake gummies cheesecake cake biscuit jelly beans. Muffin cheesecake sesame snaps. Donut lollipop chocolate cake. Muffin cheesecake sesame snaps. Donut lollipop chocolate cake. Cheesecake oat cake croissant topping lemon drops macaroon sweet roll. Bonbon dragée marshmallow tootsie roll cupcake croissant chocolate cake candy topping.

NAME
TYPE
DEFAULT
DESCRIPTION
NAME
placement
TYPE
string
DEFAULT
vertical
DESCRIPTION
Menu type, possible values are "vertical", "horizontal".
NAME
behaviour
TYPE
string
DEFAULT
pinned
DESCRIPTION
Menu pin behaviour, possible values are "pinned", "unpinned".
NAME
layout
TYPE
string
DEFAULT
fluid
DESCRIPTION
Layout mode, possible values are "boxed", "fluid".
NAME
radius
TYPE
string
DEFAULT
rounded
DESCRIPTION
Border radius of the whole template, possible values are "rounded", "standard", "flat".
NAME
color
TYPE
string
DEFAULT
light-blue
DESCRIPTION
Theme color, possible values are "light-blue", "light-green", "light-orange", "light-pink", "light-purple", "dark-blue", "dark-green", "dark-orange", "dark-pink", "dark-purple".
NAME
navcolor
TYPE
string
DEFAULT
default
DESCRIPTION
Navcolor override, possible values are default, "light", "dark".
NAME
secondary
TYPE
string
DEFAULT
hide
DESCRIPTION
Secondary menu visibility, possible values are "hide", "show".
NAME
storagePrefix
TYPE
string
DEFAULT
acorn-standard-
DESCRIPTION
Local storage key
NAME
show
TYPE
boolean
DEFAULT
true
DESCRIPTION
Hides settings button and panel when set to false
Methods

Dragée bear claw halvah. Ice cream chocolate cotton candy cotton candy biscuit chocolate bar powder. Sugar plum cookie cake. Tart apple pie sesame snaps cake biscuit cookie candy croissant. Candy canes jelly beans donut gummies gummi bears halvah oat cake marzipan. Bear claw apple pie dragée gummi bears soufflé toffee. Tiramisu bear claw jelly-o marshmallow topping jelly beans ice cream candy canes cake. Soufflé cheesecake dessert halvah lemon drops liquorice topping soufflé. Dragée bear claw halvah.

Cheesecake pie dessert bear claw caramels tiramisu cotton candy. Pastry powder dragée croissant gingerbread sesame snaps. Lemon drops sesame snaps lemon drops chocolate bar tiramisu. Ice cream chocolate cotton candy cotton candy biscuit chocolate bar powder. Sugar plum cookie cake. Tart apple cookie candy croissant. Biscuit tiramisu bonbon lemon drops croissant.

NAME
TYPE
DEFAULT
DESCRIPTION
NAME
updateAttribute
TYPE
(id: string, value: string)
DEFAULT
void
DESCRIPTION
Receives an id, value and updates the attribute
NAME
getAttribute
TYPE
(attribute: string)
DEFAULT
string
DESCRIPTION
Receives an id and returns attribute
Events

Topping cotton candy halvah marshmallow jujubes chupa chups macaroon cookie croissant. Marshmallow tiramisu marshmallow gummi bears dragée oat cake fruitcake dessert. Topping bonbon gingerbread chocolate apple pie cheesecake liquorice muffin pudding. Jelly beans marshmallow dessert biscuit biscuit gummies ice cream chupa chups cotton candy.

NAME
DETAIL
DESCRIPTION
NAME
Globals.menuPlacementChange
DETAIL
(value: string)
DESCRIPTION
Fired when placement value changes. Carries value in detail variable
NAME
Globals.menuBehaviourChange
DETAIL
(value: string)
DESCRIPTION
Fired when behaviour value changes. Carries value in detail variable
NAME
Globals.colorAttributeChange
DETAIL
(value: string)
DESCRIPTION
Fired when color value changes. Carries value in detail variable
NAME
Globals.borderRadiusChange
DETAIL
(value: string)
DESCRIPTION
Fired when border radius changes. Carries value in detail variable