# elasticpress/4.2.0/assets/js/blocks/facets/block.json

ElasticPress, version 4.2.0. 30 lines.

- Page: https://pluginprobe.com/plugins/elasticpress/4.2.0/code/assets/js/blocks/facets/block.json
- Raw: https://pluginprobe.com/plugins/elasticpress/4.2.0/raw/assets/js/blocks/facets/block.json
- Modified: 2022-05-26T12:34:34+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/elasticpress/4.2.0/code/assets/js/blocks/facets/block.json#L10-L20`.

```json
{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"title": "Facet (ElasticPress)",
	"textdomain": "elasticpress",
	"name": "elasticpress/facet",
	"icon": "feedback",
	"category": "widgets",
	"attributes": {
		"facet": {
			"type": "string",
			"default": ""
		},
		"orderby": {
			"type"   : "string",
			"default": "count",
			"enum"   : [ "count", "name" ]
		},
		"order":  {
			"type":  "string",
			"default": "desc",
			"enum":  [ "desc", "asc" ]
		}
	},
	"supports": {
		"html": false
	},
	"editorScript": "file:/../../../../dist/js/facets-block-script.min.js",
	"style": "file:/../../../../dist/css/facets-styles.min.css"
}
```
