Skip to content
This repository has been archived by the owner on Apr 21, 2020. It is now read-only.

Commit

Permalink
s/depends/actuate/g
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharthlatest committed Feb 8, 2017
1 parent d1d71d8 commit aab6993
Show file tree
Hide file tree
Showing 17 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion docs/v1/components/DataSearch.md
Expand Up @@ -25,7 +25,7 @@ Example uses:
### Props

- **componentId** `String`
unique id of the sensor, can be referenced in an actuator’s depends prop.
unique id of the sensor, can be referenced in an actuator’s actuate prop.
- **appbaseField** `String or Array`
data field(s) on which the search query will be aplied to. If you want to search across multiple fields, pass them as an `Array`.
- **title** `String` [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/v1/components/DatePicker.md
Expand Up @@ -25,7 +25,7 @@ Example uses:
### Props

- **componentId** `String`
unique id of the sensor, can be referenced when creating a combined query context in an actuator's `depends` prop.
unique id of the sensor, can be referenced when creating a combined query context in an actuator's `actuate` prop.
- **appbaseField** `String`
DB data field to be mapped with the component's UI options.
- **title** `String` [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/v1/components/DateRange.md
Expand Up @@ -25,7 +25,7 @@ Example uses:
### Props

- **componentId** `String`
unique id of the sensor, can be referenced when creating a combined query context in an actuator's `depends` prop.
unique id of the sensor, can be referenced when creating a combined query context in an actuator's `actuate` prop.
- **appbaseField** `String`
DB data field to be mapped with the component's UI options.
- **title** `String` [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/v1/components/MultiDropdownRange.md
Expand Up @@ -30,7 +30,7 @@ Example uses:
### Props

- **componentId** `String`
unique id of the sensor, can be referenced in an actuator's `depends` prop.
unique id of the sensor, can be referenced in an actuator's `actuate` prop.
- **appbaseField** `String`
data field to be mapped with the component's UI view. The range items are filtered by a database query on this field.
- **title** `String` [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/v1/components/MultiList.md
Expand Up @@ -30,7 +30,7 @@ Example uses:
### Props

- **componentId** `String`
unique id of the sensor, can be referenced in an actuator's `depends` prop.
unique id of the sensor, can be referenced in an actuator's `actuate` prop.
- **appbaseField** `String`
data field to be mapped with the component's UI view. The list items are filtered by a database query on this field.
- **title** `String` [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/v1/components/MultiRange.md
Expand Up @@ -30,7 +30,7 @@ Example uses:
### Props

- **componentId** `String`
unique id of the sensor, can be referenced in an actuator's `depends` prop.
unique id of the sensor, can be referenced in an actuator's `actuate` prop.
- **appbaseField** `String`
data field to be mapped with the component's UI view. The range items are filtered by a database query on this field.
- **title** `String` [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/v1/components/NestedList.md
Expand Up @@ -29,7 +29,7 @@ Example uses:
### Props

- **componentId** `String`
unique id of the sensor, can be referenced in an actuator's `depends` prop.
unique id of the sensor, can be referenced in an actuator's `actuate` prop.
- **appbaseField** `Array`
data field(s) to be mapped with the component's UI view. A nested list component supports multiple fields passed as an Array denoting the order of nesting.
- **title** `String` [optional]
Expand Down
6 changes: 3 additions & 3 deletions docs/v1/components/PaginatedResultList.md
Expand Up @@ -26,7 +26,7 @@ Example uses include:
size={10}
componentStyle={{height:'500px', overflow:'auto'}}
onData={this.onData}
depends={{
actuate={{
"CitySensor": {
"operation": "must"
},
Expand All @@ -40,7 +40,7 @@ Example uses include:
### Props

- **componentId** `String`
unique id of the sensor, can be referenced in an actuator's `depends` prop.
unique id of the sensor, can be referenced in an actuator's `actuate` prop.
- **appbaseField** `String`
data field to be mapped with the `ResultList`'s UI view, used for providing a sorting context.
- **title** `String` [optional]
Expand All @@ -64,7 +64,7 @@ Example uses include:
CSS Styles to be applied to the **ResultList** component.
- **onData** `Function` [optional]
a callback function where user can define how to render the view based on the data changes.
- **depends** `Object` [optional]
- **actuate** `Object` [optional]
an object defining the sensor components who state change triggers the `ResultList` query. You can [read more here](https://appbaseio.github.io/reactive-maps-docs/v1/getting-started/Dependency.html).

### Extending PaginatedResultList
Expand Down
2 changes: 1 addition & 1 deletion docs/v1/components/RangeSlider.md
Expand Up @@ -37,7 +37,7 @@ Example uses:
### Props

- **componentId** `String`
unique id of the sensor, can be referenced in an actuator's `depends` prop.
unique id of the sensor, can be referenced in an actuator's `actuate` prop.
- **appbaseField** `String`
DB data field to be mapped with the component's UI view.The selected range creates a database query on this field.
- **title** `String` [optional]
Expand Down
6 changes: 3 additions & 3 deletions docs/v1/components/ResultList.md
Expand Up @@ -27,7 +27,7 @@ Example uses:
requestOnScroll={true}
componentStyle={{height:'700px', overflow:'auto'}}
onData={this.onData}
depends={{
actuate={{
"CitySensor": {
"operation": "must"
},
Expand All @@ -41,7 +41,7 @@ Example uses:
### Props

- **componentId** `String`
unique id of the sensor, can be referenced in an actuator's `depends` prop.
unique id of the sensor, can be referenced in an actuator's `actuate` prop.
- **appbaseField** `String`
data field to be mapped with the `ResultList`'s UI view, used for providing a sorting context.
- **title** `String` [optional]
Expand All @@ -65,7 +65,7 @@ Example uses:
CSS Styles to be applied to the **ResultList** component.
- **onData** `Function` [optional]
a callback function where user can define how to render the view based on the data changes.
- **depends** `Object` [optional]
- **actuate** `Object` [optional]
an object defining the sensor components who state change triggers the `ResultList` query. You can [read more here](https://appbaseio.github.io/reactive-maps-docs/v1/getting-started/Dependency.html).

### Extending ResultList
Expand Down
2 changes: 1 addition & 1 deletion docs/v1/components/SingleDropdownList.md
Expand Up @@ -31,7 +31,7 @@ Example uses:
### Props

- **componentId** `String`
unique id of the sensor, can be referenced when creating a combined query context in an actuator's `depends` prop.
unique id of the sensor, can be referenced when creating a combined query context in an actuator's `actuate` prop.
- **appbaseField** `String`
DB data field to be mapped with the component's UI options.
- **title** `String` [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/v1/components/SingleDropdownRange.md
Expand Up @@ -31,7 +31,7 @@ Example uses:
### Props

- **componentId** `String`
unique id of the sensor, can be referenced in an actuator's `depends` prop.
unique id of the sensor, can be referenced in an actuator's `actuate` prop.
- **appbaseField** `String`
data field to be mapped with the component's UI view. The range items are filtered by a database query on this field.
- **title** `String` [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/v1/components/SingleList.md
Expand Up @@ -29,7 +29,7 @@ Example uses:
### Props

- **componentId** `String`
unique id of the sensor, can be referenced in an actuator's `depends` prop.
unique id of the sensor, can be referenced in an actuator's `actuate` prop.
- **appbaseField** `String`
data field to be mapped with the component's UI view. The list items are filtered by a database query on this field.
- **title** `String` [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/v1/components/SingleRange.md
Expand Up @@ -30,7 +30,7 @@ Example uses:
### Props

- **componentId** `String`
unique id of the sensor, can be referenced in an actuator's `depends` prop.
unique id of the sensor, can be referenced in an actuator's `actuate` prop.
- **appbaseField** `String`
data field to be mapped with the component's UI view. The range items are filtered by a database query on this field.
- **title** `String` [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/v1/components/TextField.md
Expand Up @@ -22,7 +22,7 @@ Unlike other components that have a specific query associated with their UI view
### Props

- **componentId** `String`
unique id of the sensor, can be referenced in an actuator's `depends` prop.
unique id of the sensor, can be referenced in an actuator's `actuate` prop.
- **appbaseField** `String`
data field to be mapped with the component's UI view.
- **title** `String` [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/v1/components/ToggleButton.md
Expand Up @@ -30,7 +30,7 @@ Example uses:
### Props

- **componentId** `String`
unique id of the sensor, can be referenced in an actuator's `depends` prop.
unique id of the sensor, can be referenced in an actuator's `actuate` prop.
- **appbaseField** `String`
DB data field to be mapped with the component's UI view.The selected buttons create a database query on this field.
- **title** `String` [optional]
Expand Down
8 changes: 4 additions & 4 deletions docs/v1/getting-started/Dependency.md
Expand Up @@ -3,13 +3,13 @@
{% raw %}

## Define dependency on other sensors
- **depends**: `Object`: it should contain the sensors on which component is dependent.
- **actuate**: `Object`: it should contain the sensors on which component is dependent.


```js
<AppbaseMap
...
depends={{
actuate={{
'componentId': {
"operation": "must",
"defaultQuery": this.cityQuery
Expand Down Expand Up @@ -47,10 +47,10 @@ To achieve this
componentId="TopicSensor"
inputData={this.props.mapping.topic}
...
depends={{
actuate={{
CitySensor: {
"operation": "must",
"defaultQuery": this.topicDepends
"defaultQuery": this.topicactuate
}
}}
/>
Expand Down

0 comments on commit aab6993

Please sign in to comment.