Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/surface_site_web/live/data.ex
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ defmodule SurfaceSiteWeb.Data do
### Supported options

* `default` - defines a default value for the assign.
* `values` - the list of possible values for the assign.
* `values` - the list or range of possible values for the assign.

In the following example, we create a simple `Counter` component that has its state
defined by a single assign named `count`. You can use the `-` and `+` buttons to
Expand Down
2 changes: 1 addition & 1 deletion lib/surface_site_web/live/properties.ex
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ defmodule SurfaceSiteWeb.Properties do

* `required` - declares the property as required. Default is `false`.
* `default` - defines a default value for an optional property.
* `values` - the list of possible values for the property.
* `values` - the list or range of possible values for the property.
* `accumulate` - instructs Surface to group all different values provided
for that property into a single list. Default is `false`, i.e. only the
last value is passed.
Expand Down