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

Latest commit

 

History

History

mouse

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
layout title permalink
page
PCjs <mouse> Element
/docs/pcjs/mouse/

PCjs Mouse Component

Format

<mouse>...</mouse>

Purpose

Creates an instance of the Mouse component, which simulates the original Microsoft Serial Mouse.

Attributes

  • serial (required)

    Specifies the id of the Serial component that the mouse must be connected to.

As support for more types of mouse hardware are added, new attributes will be added. Also supports the attributes of Component.

Bindings

None.

Example

<mouse serial="com1"/>

Output

<div id="..." class="pc-mouse pc-component">
    <div class="pc-container">
        <div class="pcjs-mouse" data-value="id:'...',name:'...',serial:'...'>
        </div>
    </div>
</div>

[Return to PCjs Documentation]