Consolidated /docs into /pubs

This commit is contained in:
Jeff Parsons 2017-09-12 11:28:18 -07:00 committed by Jeff Parsons
commit 71d117fa02
106 changed files with 350 additions and 317 deletions

View file

@ -0,0 +1,57 @@
---
layout: page
title: PCx86 <machine> Element
permalink: /pubs/pcx86/machine/
---
PCx86 Machine Component
-----------------------
Format
------
```xml
<machine>...</machine>
```
Purpose
-------
Container for a complete machine definition.
Machines are components that contain other components. See [Component](/pubs/pcx86/component/) for more details.
Attributes
----------
* *class* (required)
For PCx86 machines, this must be set to "pcx86", indicating the machine belongs to the PCx86 application.
* Also supports the attributes of [Component](/pubs/pcx86/component/). The *id* attribute is optional for a machine,
unless there is more than one machine on a page, in which case each machine must have a unique *id*.
Bindings
--------
None.
Example
-------
```xml
<machine id="ibm5150" class="pcx86" width="740px" pos="center" border="1" style="background-color:#FAEBD7">...</machine>
```
Output
------
```html
<div id="..." class="pc-machine pc-component" style="">
<div class="pc-container" style="">
...
</div>
</div>
```
[Return to [PCx86 Documentation](..)]