BackgroundModule mahalo/config

This module holds the configuration of Mahalo

Index

Object literals

Object literals

config

config:object

Mahalo's configuration object. It's a simple map thatyou can read from but also write to.

alias

{ config } from mahalo

basePath

basePath:string = "/"

The path to your application where '/' is the web root.

classesAttribute

classesAttribute:string = "classes"

The attribute name that will be used to attach the Classesbehavior to elements with that attribute.

contentAttribute

contentAttribute:string = "content"

The attribute name that will be used to attach the Contentbehavior to elements with that attribute.

dateFormat

dateFormat:string = "MM/DD/YYYY hh:mm"

The default format for dates if no other is specified.

environment

environment:string = "development"

forSelector

forSelector:string = "for"

The selector that will be used to select elements thatshould use the For component.

linkAttribute

linkAttribute:string = "link"

The attribute name that will be used to attach the Linkbehavior to elements with that attribute.

modelAttribute

modelAttribute:string = "model"

The attribute name that will be used to attach the Modelbehavior to elements with that attribute.

numberFormat

numberFormat:string = "1,000.00"

The default format for numbers.

routeSelector

routeSelector:string = "route"

The selector that will be used to select elements thatshould represent a Route.

showSelector

showSelector:string = "show"

The selector that will be used to select elements thatshould use the Show component.

stylesAttribute

stylesAttribute:string = "styles"

The attribute name that will be used to attach the Stylesbehavior to elements with that attribute.