Skip to content

Commit

Permalink
chore(all): prepare release 1.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Aug 6, 2019
1 parent 242a259 commit 0519051
Show file tree
Hide file tree
Showing 17 changed files with 565 additions and 239 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-templating-resources",
"version": "1.11.0",
"version": "1.12.0",
"description": "A standard set of behaviors, converters and other resources for use with the Aurelia templating library.",
"keywords": [
"aurelia",
Expand Down
124 changes: 86 additions & 38 deletions dist/amd/aurelia-templating-resources.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/amd/aurelia-templating-resources.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions dist/aurelia-templating-resources.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
import { OverrideContext, bindingMode } from 'aurelia-binding';
import { View, ViewFactory, ViewSlot } from 'aurelia-templating';

declare enum ActivationStrategy {
/**
* Default activation strategy; the 'activate' lifecycle hook will be invoked when the model changes.
*/
InvokeLifecycle = "invoke-lifecycle",
/**
* The view/view-model will be recreated, when the "model" changes.
*/
Replace = "replace"
}
/**
* Used to compose a new view / view-model template or bind to an existing instance.
*/
Expand All @@ -26,6 +36,14 @@ export declare class Compose {
* @type {Class}
*/
viewModel: any;
/**
* Strategy to activate the view-model. Default is "invoke-lifecycle".
* Bind "replace" to recreate the view/view-model when the model changes.
*
* @property activationStrategy
* @type {ActivationStrategy}
*/
activationStrategy: ActivationStrategy;
/**
* SwapOrder to control the swapping order of the custom element's view.
*
Expand Down Expand Up @@ -227,6 +245,14 @@ export declare class AbstractRepeater {
* Binding to iterate over iterable objects (Array, Map and Number) to genereate a template for each iteration.
*/
export declare class Repeat extends AbstractRepeater {
/**
* Setting this to `true` to enable legacy behavior, where a repeat would take first `matcher` binding
* any where inside its view if there's no `matcher` binding on the repeated element itself.
*
* Default value is true to avoid breaking change
* @default true
*/
static useInnerMatcher: boolean;
/**
* List of items to bind the repeater to.
*
Expand Down
Loading

0 comments on commit 0519051

Please sign in to comment.