<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://bitsmist.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://bitsmist.com/feed.php">
        <title>Bitsmist - en:bitsmist-js-core:unit</title>
        <description></description>
        <link>https://bitsmist.com/</link>
        <image rdf:resource="https://bitsmist.com/_media/wiki/dokuwiki.svg" />
       <dc:date>2026-04-27T16:19:22+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://bitsmist.com/en/bitsmist-js-core/unit/asset?rev=1714706137&amp;do=diff"/>
                <rdf:li rdf:resource="https://bitsmist.com/en/bitsmist-js-core/unit/css?rev=1714706137&amp;do=diff"/>
                <rdf:li rdf:resource="https://bitsmist.com/en/bitsmist-js-core/unit/events?rev=1714706137&amp;do=diff"/>
                <rdf:li rdf:resource="https://bitsmist.com/en/bitsmist-js-core/unit/html?rev=1714706137&amp;do=diff"/>
                <rdf:li rdf:resource="https://bitsmist.com/en/bitsmist-js-core/unit/loading?rev=1714706137&amp;do=diff"/>
                <rdf:li rdf:resource="https://bitsmist.com/en/bitsmist-js-core/unit/overview?rev=1714706137&amp;do=diff"/>
                <rdf:li rdf:resource="https://bitsmist.com/en/bitsmist-js-core/unit/perks?rev=1714706137&amp;do=diff"/>
                <rdf:li rdf:resource="https://bitsmist.com/en/bitsmist-js-core/unit/settings?rev=1714706137&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://bitsmist.com/_media/wiki/dokuwiki.svg">
        <title>Bitsmist</title>
        <link>https://bitsmist.com/</link>
        <url>https://bitsmist.com/_media/wiki/dokuwiki.svg</url>
    </image>
    <item rdf:about="https://bitsmist.com/en/bitsmist-js-core/unit/asset?rev=1714706137&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-05-03T03:15:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Properties and Methods</title>
        <link>https://bitsmist.com/en/bitsmist-js-core/unit/asset?rev=1714706137&amp;do=diff</link>
        <description>Properties and Methods

Overview

In BitmistJS, functionality is added to units by attaching what is called a perk to the unit. Units can have additional properties and methods, but the addition of properties and methods is kept to a minimum to avoid name conflicts between the functions added by the various perks. Instead, we have a container called an asset, into which each perk will add functions. Items in assets are prefixed with a period-separated perk-specific word, such as</description>
    </item>
    <item rdf:about="https://bitsmist.com/en/bitsmist-js-core/unit/css?rev=1714706137&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-05-03T03:15:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>CSS</title>
        <link>https://bitsmist.com/en/bitsmist-js-core/unit/css?rev=1714706137&amp;do=diff</link>
        <description>CSS

Overview

Each unit has one CSS file by default. BitsmistJS uses Constructable Stylesheets, a standard technology for applying CSS, which allows multiple structured CSS to be applied to a unit, including common CSS and CSS specific to each unit, just by writing them in the settings. It is also possible to switch between multiple</description>
    </item>
    <item rdf:about="https://bitsmist.com/en/bitsmist-js-core/unit/events?rev=1714706137&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-05-03T03:15:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Events</title>
        <link>https://bitsmist.com/en/bitsmist-js-core/unit/events?rev=1714706137&amp;do=diff</link>
        <description>Events

Overview

One of the features of BitsmistJS is that it is event-driven. Events occur at various times in each unit. When an event occurs, BitmistJS prepares arguments and calls the registered event handler. By writing the event handler for each event, you create the behavior of the unit.</description>
    </item>
    <item rdf:about="https://bitsmist.com/en/bitsmist-js-core/unit/html?rev=1714706137&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-05-03T03:15:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>HTML</title>
        <link>https://bitsmist.com/en/bitsmist-js-core/unit/html?rev=1714706137&amp;do=diff</link>
        <description>HTML

Overview

Each unit has one HTML file (called “skin” in BitsmistJS) by default.  The unit's HTML file must be loaded and applied to the unit (added to the node). It is possible to switch between multiple HTML files or create a unit with no</description>
    </item>
    <item rdf:about="https://bitsmist.com/en/bitsmist-js-core/unit/loading?rev=1714706137&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-05-03T03:15:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Loading</title>
        <link>https://bitsmist.com/en/bitsmist-js-core/unit/loading?rev=1714706137&amp;do=diff</link>
        <description>Loading

Overview

The Javascript file for each unit must be loaded into the browser. There are two loading methods: autoloading and manual loading. Autoloading automatically loads the necessary files and instantiates the tag by specifying the bm-autoload attribute in the unit's tag attribute. Manual loading is done by explicitly specifying the necessary files in the script tag and loading the unit. The former is easy but requires three files to be loaded per unit by default. In the latter case,…</description>
    </item>
    <item rdf:about="https://bitsmist.com/en/bitsmist-js-core/unit/overview?rev=1714706137&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-05-03T03:15:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Overview</title>
        <link>https://bitsmist.com/en/bitsmist-js-core/unit/overview?rev=1714706137&amp;do=diff</link>
        <description>Overview

This page briefly describes the Unit class, the heart of BitsmistJS, and serves as a gateway to more detailed explanations.

Properties and Methods

In BitmistJS, functionality is added to units by attaching what is called a perk to the unit. Units can have additional properties and methods, but the addition of properties and methods is kept to a minimum to avoid name conflicts between the functions added by the various perks. Instead, we have a container called an asset, into which ea…</description>
    </item>
    <item rdf:about="https://bitsmist.com/en/bitsmist-js-core/unit/perks?rev=1714706137&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-05-03T03:15:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Extending with Perks</title>
        <link>https://bitsmist.com/en/bitsmist-js-core/unit/perks?rev=1714706137&amp;do=diff</link>
        <description>Extending with Perks

Overview

The core component of BitsmistJS “Unit” has few functions. Each unit can be extended in functionality by applying perks.

For example, in &quot;Create a Sample Unit&quot;, an event handler is set in the configuration, which is handled by EventPerk. Loading and applying</description>
    </item>
    <item rdf:about="https://bitsmist.com/en/bitsmist-js-core/unit/settings?rev=1714706137&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-05-03T03:15:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Settings</title>
        <link>https://bitsmist.com/en/bitsmist-js-core/unit/settings?rev=1714706137&amp;do=diff</link>
        <description>Settings

Overview

Each unit operates according to its settings described in JSON or Javascript object format. There are two types of settings: global settings for all units and settings specific to each unit. Unit settings and global settings are linked, so that settings not found in the unit settings are automatically obtained from the global settings. The settings are stored in</description>
    </item>
</rdf:RDF>
