{"name":"aurelia-framework","children":[{"id":2,"name":"Aurelia","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"The framework core that provides the main Aurelia object."},"children":[{"id":8,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of Aurelia."},"signatures":[{"id":9,"name":"new Aurelia","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of Aurelia."},"parameters":[{"id":10,"name":"loader","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The loader for this Aurelia instance to use. If a loader is not specified, Aurelia will use the loader type specified by PLATFORM.Loader."},"type":{"type":"reference","name":"Loader"}},{"id":11,"name":"container","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The dependency injection container for this Aurelia instance to use. If a container is not specified, Aurelia will create an empty, global container."},"type":{"type":"reference","name":"Container"}},{"id":12,"name":"resources","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"The resource registry for this Aurelia instance to use. If a resource registry is not specified, Aurelia will create an empty registry.\n"},"type":{"type":"reference","name":"ViewResources"}}],"type":{"type":"reference","name":"Aurelia","id":2}}]},{"id":5,"name":"container","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The root DI container used by the application."},"type":{"type":"reference","name":"Container"}},{"id":3,"name":"host","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The DOM Element that Aurelia will attach to."},"type":{"type":"reference","name":"Element"}},{"id":4,"name":"loader","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"/**\nThe loader used by the application."},"type":{"type":"reference","name":"Loader"}},{"id":6,"name":"resources","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The global view resources used by the application."},"type":{"type":"reference","name":"ViewResources"}},{"id":7,"name":"use","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The configuration used during application startup."},"type":{"type":"reference","name":"FrameworkConfiguration","id":23}},{"id":15,"name":"enhance","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":16,"name":"enhance","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Enhances the host's existing elements with behaviors and bindings.","returns":"Returns a Promise for the current Aurelia instance.\n"},"parameters":[{"id":17,"name":"bindingContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A binding context for the enhanced elements."},"type":{"type":"reference","name":"Object"}},{"id":18,"name":"applicationHost","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The DOM object that Aurelia will enhance."},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"Element"}]}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"Aurelia","id":2}]}}]},{"id":19,"name":"setRoot","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":20,"name":"setRoot","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Instantiates the root component and adds it to the DOM.","returns":"Returns a Promise of the current Aurelia instance.\n"},"parameters":[{"id":21,"name":"root","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The root component to load upon bootstrap."},"type":{"type":"instrinct","name":"string"}},{"id":22,"name":"applicationHost","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The DOM object that Aurelia will attach to."},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"Element"}]}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"Aurelia","id":2}]}}]},{"id":13,"name":"start","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":14,"name":"start","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads plugins, then resources, and then starts the Aurelia instance.","returns":"Returns a Promise with the started Aurelia instance.\n"},"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"Aurelia","id":2}]}}]}],"groups":[{"title":"Constructors","kind":512,"children":[8]},{"title":"Properties","kind":1024,"children":[5,3,4,6,7]},{"title":"Methods","kind":2048,"children":[15,19,13]}]},{"id":23,"name":"FrameworkConfiguration","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Manages configuring the aurelia framework instance."},"children":[{"id":26,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of FrameworkConfiguration."},"signatures":[{"id":27,"name":"new FrameworkConfiguration","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of FrameworkConfiguration."},"parameters":[{"id":28,"name":"aurelia","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"An instance of Aurelia.\n"},"type":{"type":"reference","name":"Aurelia","id":2}}],"type":{"type":"reference","name":"FrameworkConfiguration","id":23}}]},{"id":25,"name":"aurelia","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The aurelia instance."},"type":{"type":"reference","name":"Aurelia","id":2}},{"id":24,"name":"container","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The root DI container used by the application."},"type":{"type":"reference","name":"Container"}},{"id":78,"name":"apply","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":79,"name":"apply","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads and configures the plugins registered with this instance.","returns":"Returns a promise which resolves when all plugins are loaded and configured.\n"},"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"void"}]}}]},{"id":72,"name":"basicConfiguration","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":73,"name":"basicConfiguration","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets up a basic Aurelia configuration. This is equivalent to calling `.defaultBindingLanguage().defaultResources().eventAggregator();`","returns":"Returns the current FrameworkConfiguration instance.\n"},"type":{"type":"reference","name":"FrameworkConfiguration","id":23}}]},{"id":62,"name":"defaultBindingLanguage","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":63,"name":"defaultBindingLanguage","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Plugs in the default binding language from aurelia-templating-binding.","returns":"Returns the current FrameworkConfiguration instance.\n"},"type":{"type":"reference","name":"FrameworkConfiguration","id":23}}]},{"id":68,"name":"defaultResources","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":69,"name":"defaultResources","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Plugs in the default templating resources (if, repeat, show, compose, etc.) from aurelia-templating-resources.","returns":"Returns the current FrameworkConfiguration instance.\n"},"type":{"type":"reference","name":"FrameworkConfiguration","id":23}}]},{"id":76,"name":"developmentLogging","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":77,"name":"developmentLogging","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Plugs in the ConsoleAppender and sets the log level to debug.","returns":"Returns the current FrameworkConfiguration instance.\n"},"type":{"type":"reference","name":"FrameworkConfiguration","id":23}}]},{"id":70,"name":"eventAggregator","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":71,"name":"eventAggregator","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Plugs in the event aggregator from aurelia-event-aggregator.","returns":"Returns the current FrameworkConfiguration instance.\n"},"type":{"type":"reference","name":"FrameworkConfiguration","id":23}}]},{"id":47,"name":"feature","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":48,"name":"feature","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Configures an internal feature plugin before Aurelia starts.","returns":"Returns the current FrameworkConfiguration instance.\n"},"parameters":[{"id":49,"name":"plugin","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The folder for the internal plugin to configure (expects an index.js in that folder)."},"type":{"type":"instrinct","name":"string"}},{"id":50,"name":"config","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The configuration for the specified plugin."},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"FrameworkConfiguration","id":23}}]},{"id":54,"name":"globalName","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":55,"name":"globalName","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Renames a global resource that was imported.","returns":"Returns the current FrameworkConfiguration instance.\n"},"parameters":[{"id":56,"name":"resourcePath","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The path to the resource."},"type":{"type":"instrinct","name":"string"}},{"id":57,"name":"newName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The new name."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"FrameworkConfiguration","id":23}}]},{"id":51,"name":"globalResources","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":52,"name":"globalResources","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds globally available view resources to be imported into the Aurelia framework.","returns":"Returns the current FrameworkConfiguration instance.\n"},"parameters":[{"id":53,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The relative module id to the resource. (Relative to the plugin's installer.)"},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"instrinct","isArray":true,"name":"string"}]}}],"type":{"type":"reference","name":"FrameworkConfiguration","id":23}}]},{"id":66,"name":"history","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":67,"name":"history","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Plugs in the default history implementation from aurelia-history-browser.","returns":"Returns the current FrameworkConfiguration instance.\n"},"type":{"type":"reference","name":"FrameworkConfiguration","id":23}}]},{"id":29,"name":"instance","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":30,"name":"instance","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds an existing object to the framework's dependency injection container.","returns":"Returns the current FrameworkConfiguration instance.\n"},"parameters":[{"id":31,"name":"type","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The object type of the dependency that the framework will inject."},"type":{"type":"instrinct","name":"any"}},{"id":32,"name":"instance","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The existing instance of the dependency that the framework will inject."},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"FrameworkConfiguration","id":23}}]},{"id":58,"name":"plugin","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":59,"name":"plugin","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Configures an external, 3rd party plugin before Aurelia starts.","returns":"Returns the current FrameworkConfiguration instance.\n"},"parameters":[{"id":60,"name":"plugin","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The ID of the 3rd party plugin to configure."},"type":{"type":"instrinct","name":"string"}},{"id":61,"name":"config","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The configuration for the specified plugin."},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"FrameworkConfiguration","id":23}}]},{"id":44,"name":"postTask","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":45,"name":"postTask","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds an async function that runs after the plugins are run.","returns":"Returns the current FrameworkConfiguration instance.\n"},"parameters":[{"id":46,"name":"task","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The function to run after start."},"type":{"type":"reference","name":"Function"}}],"type":{"type":"reference","name":"FrameworkConfiguration","id":23}}]},{"id":41,"name":"preTask","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":42,"name":"preTask","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds an async function that runs before the plugins are run.","returns":"Returns the current FrameworkConfiguration instance.\n"},"parameters":[{"id":43,"name":"task","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The function to run before start."},"type":{"type":"reference","name":"Function"}}],"type":{"type":"reference","name":"FrameworkConfiguration","id":23}}]},{"id":64,"name":"router","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":65,"name":"router","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Plugs in the router from aurelia-templating-router.","returns":"Returns the current FrameworkConfiguration instance.\n"},"type":{"type":"reference","name":"FrameworkConfiguration","id":23}}]},{"id":33,"name":"singleton","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":34,"name":"singleton","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a singleton to the framework's dependency injection container.","returns":"Returns the current FrameworkConfiguration instance.\n"},"parameters":[{"id":35,"name":"type","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The object type of the dependency that the framework will inject."},"type":{"type":"instrinct","name":"any"}},{"id":36,"name":"implementation","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The constructor function of the dependency that the framework will inject."},"type":{"type":"reference","name":"Function"}}],"type":{"type":"reference","name":"FrameworkConfiguration","id":23}}]},{"id":74,"name":"standardConfiguration","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":75,"name":"standardConfiguration","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets up the standard Aurelia configuration. This is equivalent to calling `.defaultBindingLanguage().defaultResources().eventAggregator().history().router();`","returns":"Returns the current FrameworkConfiguration instance.\n"},"type":{"type":"reference","name":"FrameworkConfiguration","id":23}}]},{"id":37,"name":"transient","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":38,"name":"transient","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a transient to the framework's dependency injection container.","returns":"Returns the current FrameworkConfiguration instance.\n"},"parameters":[{"id":39,"name":"type","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The object type of the dependency that the framework will inject."},"type":{"type":"instrinct","name":"any"}},{"id":40,"name":"implementation","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The constructor function of the dependency that the framework will inject."},"type":{"type":"reference","name":"Function"}}],"type":{"type":"reference","name":"FrameworkConfiguration","id":23}}]}],"groups":[{"title":"Constructors","kind":512,"children":[26]},{"title":"Properties","kind":1024,"children":[25,24]},{"title":"Methods","kind":2048,"children":[78,72,62,68,76,70,47,54,51,66,29,58,44,41,64,33,74,37]}]},{"id":80,"name":"LogManager","kind":32,"kindString":"Variable","flags":{"isExported":true},"comment":{"shortText":"The log manager."},"type":{"type":"instrinct","name":"any"}}],"groups":[{"title":"Classes","kind":128,"children":[2,23]},{"title":"Variables","kind":32,"children":[80]}]}