Skip to content

Commit

Permalink
more formatting for documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
disasteroftheuniverse committed Dec 30, 2019
1 parent 3e35982 commit 749c359
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/aframe-extra-collection.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ A collection of miscellaneous components with varying degrees of usefulness.

Creates a flat 2D rectangle with rounded corners. The appearance can be modified with [A-Frame 'material' component](https://aframe.io/docs/master/components/material.html).

#### Example
##### Example

```html
<a-entity rounded="radius: 0.05; width: 1; height: 2;" material="color: blue;"></a-entity>
```

#### Properties
##### Properties

| Property | Property Type | Default Value | Description |
|---|---|---|---|
Expand All @@ -30,13 +30,13 @@ Creates a flat 2D rectangle with rounded corners. The appearance can be modified

Restricts the movement of an object to a volume specified by minimum and maximum values in world space; Objects with the _clamp_ component cannot move beyond the limits defined by the min and max values.

#### Example
##### Example

```html
<a-entity position="0 1 -1" clamp="min: -2 -4 -1; max: 2 5 3"></a-entity>
```

#### Properties
##### Properties

| Property | Property Type | Default Value | Description |
|---|---|---|---|
Expand All @@ -49,7 +49,7 @@ Restricts the movement of an object to a volume specified by minimum and maximum

Calls `console.log` after a mesh is loaded;

#### Example
##### Example

```html
<a-entity log-object3D></a-entity>
Expand All @@ -62,14 +62,14 @@ Calls `console.log` after a mesh is loaded;

Aligns the Z-axis of an entity to always face towards a specified entity;

#### Example
##### Example

```html
<a-entity id="foo" ></a-entity>
<a-entity billboard="src: #foo;"></a-entity>
```

#### Properties
##### Properties

| Property | Property Type | Default Value | Description |
|---|---|---|---|
Expand Down

0 comments on commit 749c359

Please sign in to comment.