Read Me | Using the Components | <sgnw-components /> | <fsw-components /> | Change Log
<sgnw-components /> use SignWriting in Unicode (SWU) characters.
The sgnw-symbol component can be used to create a symbol image
<sgnw-symbol symbol=""></sgnw-symbol>
<sgnw-symbol symbol="" styling="-CZ2"></sgnw-symbol>
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
styling |
styling |
Style String for symbol | string |
undefined |
symbol |
symbol |
SWU character for symbol | string |
undefined |
graph TD;
sgnw-vp --> sgnw-symbol
The sgnw-sign component can be used to create a sign image
<sgnw-sign sign="𝠀𝠃𝤭𝤩𝣭𝣤𝤉𝣤𝤡𝣺𝣠𝣺𝣭𝤑𝤉𝤑"></sgnw-sign>
<sgnw-sign sign="𝠀𝠃𝤭𝤩𝣭𝣤𝤉𝣤𝤡𝣺𝣠𝣺𝣭𝤑𝤉𝤑" styling="-CZ2"></sgnw-sign>
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
sign |
sign |
SWU string for sign | string |
undefined |
styling |
styling |
Style String for sign | string |
undefined |
graph TD;
sgnw-vp --> sgnw-sign
The sgnw-vp component can be used to create a sign text paragraph
<sgnw-vp vp="𝠀𝠃𝤟𝤩𝣵𝤐𝤇𝣤𝤐𝤆𝣮𝣭 𝠀𝠃𝤛𝤬𝤀𝣺𝤄𝣻𝤄𝤗𝤃𝣟𝣱𝣸 𝠀𝠃𝤙𝤞𝣷𝤀𝣼𝤀𝣳𝣮 𝣢𝤂 𝠀𝠃𝤍𝤕𝣾𝣷 𝠀𝠃𝤩𝤛𝣢𝣱𝣬𝤉𝤍𝣽𝤜𝤎 𝣡𝤂 𝠀𝠃𝤎𝤕𝣿𝣷 𝠀𝠃𝤮𝤙𝣴𝣴𝤙𝣻𝤙𝣟 𝠀𝠃𝤲𝤡𝣨𝤃𝤖𝤃𝣴𝣴𝤙𝣶𝣩𝣶𝤊𝣢𝣕𝣡𝣴𝣴𝣽𝣗 𝣡𝤂 𝠀𝠃𝤎𝤕𝣿𝣷 𝠀𝠃𝤮𝤙𝣴𝣴𝤙𝣻𝤙𝣟 𝠀𝠃𝤣𝤘𝤈𝤌𝣹𝤁𝤍𝣵𝣩𝣽 𝠀𝠃𝤡𝤖𝤒𝣸𝣫𝣸𝣻𝣷 𝠀𝠃𝤣𝤟𝤅𝣯𝤅𝣽𝣪𝣮𝤅𝤐 𝣢𝤂 𝠀𝠃𝤬𝤘𝤕𝣵𝣡𝣴𝣤𝣵𝣿𝣼 𝠀𝠃𝤝𝤪𝣷𝤊𝤈𝣡𝤍𝤃𝣯𝣪 𝠀𝠃𝤨𝤛𝣭𝤉𝤌𝣱𝣥𝣱𝤔𝤊𝣿𝤕 𝣢𝤂 𝠀𝠃𝤤𝤸𝣨𝣚𝤕𝤝𝣳𝤝𝣼𝣦𝣱𝣺𝤊𝣔𝤔𝣻𝤖𝣞 𝠀𝠃𝤭𝤥𝣞𝣦𝤔𝤌𝣽𝣾 𝠃𝤗𝤜𝣹𝤍𝣵𝣱 𝣡𝤂 𝠀𝠃𝤏𝤙𝣿𝣳𝣾𝤇 𝣢𝤂 𝠃𝤦𝤖𝣧𝣷𝤁𝤆𝤔𝣸 𝣡𝤂 𝠃𝤧𝤬𝤊𝤝𝣴𝣴 𝠃𝤼𝤘𝣳𝣶𝤇𝣶𝤞𝣵𝣐𝣵𝤂𝤍 𝣡𝤂 𝠀𝠃𝤜𝤞𝣹𝣯𝤁𝤆𝣱𝤋𝣿𝣿 𝠀𝠃𝤟𝥄𝤉𝤵𝤐𝤕𝤁𝤥𝣰𝤟𝣴𝣴 𝣡𝤂 𝠃𝤹𝤰𝣒𝣣𝣴𝣝𝤈𝣺𝣥𝣼𝤠𝤏𝣺𝤐 𝠀𝠃𝤦𝤬𝤇𝤝𝣥𝤑𝣯𝣨𝤌𝣵𝤀𝣠 𝣢𝤂 𝠃𝤦𝤖𝣧𝣷𝤁𝤆𝤔𝣸 𝠀𝠃𝤨𝤛𝣭𝤉𝤌𝣱𝣥𝣱𝤔𝤊𝣿𝤕 𝣡𝤂 𝠀𝠃𝤝𝤪𝣷𝤊𝤈𝣡𝤍𝤃𝣯𝣪 𝠀𝠃𝤖𝤥𝣶𝣦𝣾𝣵𝣶𝤂 𝠀𝠃𝤢𝥇𝤎𝤤𝣯𝤤𝤉𝤹𝣩𝤹𝣴𝣯 𝣢𝤂"></sgnw-vp>
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
colorize |
colorize |
Colorize flag | boolean |
undefined |
vp |
vp |
SWU text | string |
undefined |
graph TD;
sgnw-vp --> sgnw-sign
sgnw-vp --> sgnw-symbol
The sgnw-button component can be used to create buttons with symbols, signs, and svg.
<sgnw-button symbol=""></sgnw-button>
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
sign |
sign |
SWU string for sign | string |
undefined |
svg |
svg |
SVG icon | string |
undefined |
symbol |
symbol |
SWU character for symbol | string |
undefined |
graph TD;
sgnw-palette --> sgnw-button
The sgnw-palette-symbol component is used inside the sgnw-palette.
<sgnw-palette-symbol symbol=""></sgnw-palette-symbol>
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
symbol |
symbol |
SWU character for symbol | string |
undefined |
Event | Description | Type |
---|---|---|
paletteSymbolClick |
click event for the symbol palette | CustomEvent<string> |
paletteSymbolDrop |
drop event for the signbox and sequence | CustomEvent<{ encoding: string; symbol: string; x: number; y: number; }> |
graph TD;
sgnw-palette --> sgnw-palette-symbol
style sgnw-palette-symbol fill:#f9f,stroke:#333,stroke-width:4px
The sgnw-palette components allows for access to the symbols of the ISWA 2010.
<sgnw-palette orientation="horizontal" size="small"></sgnw-palette>
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
alphabet |
alphabet |
set of symbols | object | string |
iswa2010SWU |
base |
base |
mid level symbol selection | string |
null |
group |
group |
top level symbol selection | string |
null |
lower |
lower |
flag for small and medium palette | boolean |
false |
more |
more |
flag for small palette | boolean |
false |
orientation |
orientation |
orientation of palette | "horizontal" | "vertical" |
"vertical" |
size |
size |
size of palette | "large" | "medium" | "small" |
"small" |
graph TD;
sgnw-palette --> sgnw-button
sgnw-palette --> sgnw-palette-symbol
The sgnw-signbox component is currently a placeholder for future development. It currently listens for the paletteSymbolDrop event and console logs the results.
<sgnw-signbox></sgnw-signbox>