Read Me | Using the Components | <sgnw-components /> | <fsw-components /> | Change Log


Sutton SignWriting Web Components

<sgnw-components /> use SignWriting in Unicode (SWU) characters.


sgnw-symbol

The sgnw-symbol component can be used to create a symbol image

sgnw-symbol

<sgnw-symbol symbol="๑„ตก"></sgnw-symbol>

sgnw-symbol with style string

<sgnw-symbol symbol="๑„ตก" styling="-CZ2"></sgnw-symbol>

Properties

Property Attribute Description Type Default
styling styling Style String for symbol string undefined
symbol symbol SWU character for symbol string undefined

Dependencies

Used by

Graph

graph TD;
  sgnw-vp --> sgnw-symbol
  

sgnw-sign

The sgnw-sign component can be used to create a sign image

sgnw-sign

<sgnw-sign sign="๐ €๑ณด๑ณถ๑‰Œ๑‰Œ•๑ณฒ๑ณธ๐ ƒ๐คญ๐คฉ๑ณผ๐ฃญ๐ฃค๑ณด๐ค‰๐ฃค๑‰Œ๐คก๐ฃบ๑‰Œ•๐ฃ ๐ฃบ๑ณบ๐ฃญ๐ค‘๑ณฒ๐ค‰๐ค‘"></sgnw-sign>

sgnw-sign with style string

<sgnw-sign sign="๐ €๑ณด๑ณถ๑‰Œ๑‰Œ•๑ณฒ๑ณธ๐ ƒ๐คญ๐คฉ๑ณผ๐ฃญ๐ฃค๑ณด๐ค‰๐ฃค๑‰Œ๐คก๐ฃบ๑‰Œ•๐ฃ ๐ฃบ๑ณบ๐ฃญ๐ค‘๑ณฒ๐ค‰๐ค‘" styling="-CZ2"></sgnw-sign>

Properties

Property Attribute Description Type Default
sign sign SWU string for sign string undefined
styling styling Style String for sign string undefined

Dependencies

Used by

Graph

graph TD;
  sgnw-vp --> sgnw-sign
  

sgnw-vp

The sgnw-vp component can be used to create a sign text paragraph

sgnw-vp

<sgnw-vp vp="๐ €๑€€’๑€€š๑‹šฅ๑‹›ฉ๐ ƒ๐คŸ๐คฉ๑‹›ฉ๐ฃต๐ค๑€€’๐ค‡๐ฃค๑‹šฅ๐ค๐ค†๑€€š๐ฃฎ๐ฃญ ๐ €๑‚‡ข๑‚‡ˆ๑†™ก๑‹Žฅ๑‹Žต๐ ƒ๐ค›๐คฌ๑‚‡ˆ๐ค€๐ฃบ๑‚‡ข๐ค„๐ฃป๑‹Žฅ๐ค„๐ค—๑‹Žต๐คƒ๐ฃŸ๑†™ก๐ฃฑ๐ฃธ ๐ €๑…จ‘๑€€™๑†‰๐ ƒ๐ค™๐คž๑€€™๐ฃท๐ค€๑…จ‘๐ฃผ๐ค€๑†‰๐ฃณ๐ฃฎ ๑Œ๐ฃข๐ค‚ ๐ €๑€•๐ ƒ๐ค๐ค•๑€•๐ฃพ๐ฃท ๐ €๑‚Œข๑‚‡ท๑†™ก๑ˆ—ฆ๐ ƒ๐คฉ๐ค›๑‚Œข๐ฃข๐ฃฑ๑‚‡ท๐ฃฌ๐ค‰๑†™ก๐ค๐ฃฝ๑ˆ—ฆ๐คœ๐คŽ ๑Šก๐ฃก๐ค‚ ๐ €๑€€ก๐ ƒ๐คŽ๐ค•๑€€ก๐ฃฟ๐ฃท ๐ €๑€€’๑‰ฉ๑Œ๐ ƒ๐คฎ๐ค™๑Œ๐ฃด๐ฃด๑€€’๐ค™๐ฃป๑‰ฉ๐ค™๐ฃŸ ๐ €๑€•๑€•‰๑†‡ก๑ˆฉก๑ˆฉฝ๑†‡ก๑‹บ๑Œ€‡๑Œ€ƒ๐ ƒ๐คฒ๐คก๑€•‰๐ฃจ๐คƒ๑€•๐ค–๐คƒ๑Œ€‡๐ฃด๐ฃด๑†‡ก๐ค™๐ฃถ๑†‡ก๐ฃฉ๐ฃถ๑ˆฉก๐คŠ๐ฃข๑ˆฉฝ๐ฃ•๐ฃก๑Œ€ƒ๐ฃด๐ฃด๑‹บ๐ฃฝ๐ฃ— ๑Šก๐ฃก๐ค‚ ๐ €๑€•ก๐ ƒ๐คŽ๐ค•๑€•ก๐ฃฟ๐ฃท ๐ €๑€€’๑‰ฉ๑Œ๐ ƒ๐คฎ๐ค™๑Œ๐ฃด๐ฃด๑€€’๐ค™๐ฃป๑‰ฉ๐ค™๐ฃŸ ๐ €๑€‚๑‚‡ป๑ˆŸƒ๑†•๐ ƒ๐คฃ๐ค˜๑‚‡ป๐คˆ๐คŒ๑†•๐ฃน๐ค๑€‚๐ค๐ฃต๑ˆŸƒ๐ฃฉ๐ฃฝ ๐ €๑€€ก๑‹Žฅ๑€€๐ ƒ๐คก๐ค–๑€€๐ค’๐ฃธ๑€€ก๐ฃซ๐ฃธ๑‹Žฅ๐ฃป๐ฃท ๐ €๑€€“๑ƒ›†๑†ฟ…๑†•๐ ƒ๐คฃ๐คŸ๑€€“๐ค…๐ฃฏ๑†•๐ค…๐ฃฝ๑ƒ›†๐ฃช๐ฃฎ๑†ฟ…๐ค…๐ค ๑Œ๐ฃข๐ค‚ ๐ €๑‚‡ข๑‰ณ๑‚‡‚๑‚‡ˆ๐ ƒ๐คฌ๐ค˜๑‚‡ข๐ค•๐ฃต๑‚‡ˆ๐ฃก๐ฃด๑‚‡‚๐ฃค๐ฃต๑‰ณ๐ฃฟ๐ฃผ ๐ €๑€€’๑€€š๑‹ ฅ๑‹กฉ๐ ƒ๐ค๐คช๑‹กฉ๐ฃท๐คŠ๑€€’๐คˆ๐ฃก๑‹ ฅ๐ค๐คƒ๑€€š๐ฃฏ๐ฃช ๐ €๑ƒง๑ƒง‰๑†ฟ…๑†ฟ•๑‹ธฅ๐ ƒ๐คจ๐ค›๑†ฟ•๐ฃญ๐ค‰๑ƒง๐คŒ๐ฃฑ๑ƒง‰๐ฃฅ๐ฃฑ๑†ฟ…๐ค”๐คŠ๑‹ธฅ๐ฃฟ๐ค• ๑Œ๐ฃข๐ค‚ ๐ €๑…ก๑‚‡ธ๑ˆ—จ๑ˆ—จ๑‚‡‘๑‚‡™๑‡€ฅ๑‡€ต๐ ƒ๐คค๐คธ๑‚‡ธ๐ฃจ๐ฃš๑‚‡‘๐ค•๐ค๑‚‡™๐ฃณ๐ค๑…ก๐ฃผ๐ฃฆ๑‡€ต๐ฃฑ๐ฃบ๑ˆ—จ๐คŠ๐ฃ”๑‡€ฅ๐ค”๐ฃป๑ˆ—จ๐ค–๐ฃž ๐ €๑„นธ๑ˆ—ฆ๑„พ˜๐ ƒ๐คญ๐คฅ๑„นธ๐ฃž๐ฃฆ๑„พ˜๐ค”๐คŒ๑ˆ—ฆ๐ฃฝ๐ฃพ ๐ ƒ๐ค—๐คœ๑€€‹๐ฃน๐ค๑€‚๐ฃต๐ฃฑ ๑Šก๐ฃก๐ค‚ ๐ €๑†…๑‡……๐ ƒ๐ค๐ค™๑†…๐ฃฟ๐ฃณ๑‡……๐ฃพ๐ค‡ ๑Œ๐ฃข๐ค‚ ๐ ƒ๐คฆ๐ค–๑„ตก๐ฃง๐ฃท๑†…๐ค๐ค†๑ƒ‰ก๐ค”๐ฃธ ๑Šก๐ฃก๐ค‚ ๐ ƒ๐คง๐คฌ๑…ฉฑ๐คŠ๐ค๑ณก๐ฃด๐ฃด ๐ ƒ๐คผ๐ค˜๑ƒ›‹๐ฃณ๐ฃถ๑ƒ›ƒ๐ค‡๐ฃถ๑ˆ™‡๐คž๐ฃต๑ˆ™“๐ฃ๐ฃต๑†‡ก๐ค‚๐ค ๑Šก๐ฃก๐ค‚ ๐ €๑‚‹ฃ๑‚‹ซ๑†•๑‡†ก๐ ƒ๐คœ๐คž๑‡†ก๐ฃน๐ฃฏ๑‚‹ฃ๐ค๐ค†๑‚‹ซ๐ฃฑ๐ค‹๑†•๐ฃฟ๐ฃฟ ๐ €๑€Ÿก๑†„ฉ๑†•๑ˆŸƒ๑ฉ๐ ƒ๐คŸ๐ฅ„๑†„ฉ๐ค‰๐คต๑€Ÿก๐ค๐ค•๑†•๐ค๐คฅ๑ˆŸƒ๐ฃฐ๐คŸ๑ฉ๐ฃด๐ฃด ๑Šก๐ฃก๐ค‚ ๐ ƒ๐คน๐คฐ๑…Šฐ๐ฃ’๐ฃฃ๑…Š‚๐ฃด๐ฃ๑ˆ™†๐คˆ๐ฃบ๑ˆ™–๐ฃฅ๐ฃผ๑…‘ข๐ค ๐ค๑…’๐ฃบ๐ค ๐ €๑ƒ๑ƒ‰๑‹ ฉ๑‹กญ๑‹ธก๐ ƒ๐คฆ๐คฌ๑ƒ๐ค‡๐ค๑ƒ‰๐ฃฅ๐ค‘๑‹กญ๐ฃฏ๐ฃจ๑‹ ฉ๐คŒ๐ฃต๑‹ธก๐ค€๐ฃ  ๑Œ๐ฃข๐ค‚ ๐ ƒ๐คฆ๐ค–๑„ตก๐ฃง๐ฃท๑†…๐ค๐ค†๑ƒ‰ก๐ค”๐ฃธ ๐ €๑ƒง๑ƒง‰๑†ฟ…๑†ฟ•๑‹ธฅ๐ ƒ๐คจ๐ค›๑†ฟ•๐ฃญ๐ค‰๑ƒง๐คŒ๐ฃฑ๑ƒง‰๐ฃฅ๐ฃฑ๑†ฟ…๐ค”๐คŠ๑‹ธฅ๐ฃฟ๐ค• ๑Šก๐ฃก๐ค‚ ๐ €๑€€’๑€€š๑‹ ฅ๑‹กฉ๐ ƒ๐ค๐คช๑‹กฉ๐ฃท๐คŠ๑€€’๐คˆ๐ฃก๑‹ ฅ๐ค๐คƒ๑€€š๐ฃฏ๐ฃช ๐ €๑…ก๑‚‡‡๑‰จฌ๐ ƒ๐ค–๐คฅ๑‚‡‡๐ฃถ๐ฃฆ๑…ก๐ฃพ๐ฃต๑‰จฌ๐ฃถ๐ค‚ ๐ €๑†…ฑ๑†…น๑‡†ฅ๑‡†ต๑Œต๐ ƒ๐คข๐ฅ‡๑†…ฑ๐คŽ๐คค๑†…น๐ฃฏ๐คค๑‡†ฅ๐ค‰๐คน๑‡†ต๐ฃฉ๐คน๑Œต๐ฃด๐ฃฏ ๑Œ๐ฃข๐ค‚"></sgnw-vp>

Properties

Property Attribute Description Type Default
colorize colorize Colorize flag boolean undefined
vp vp SWU text string undefined

Dependencies

Depends on

Graph

graph TD;
  sgnw-vp --> sgnw-sign
  sgnw-vp --> sgnw-symbol
  

sgnw-button

The sgnw-button component can be used to create buttons with symbols, signs, and svg.

Basic Example

<sgnw-button symbol="๑„ตก"></sgnw-button>

Properties

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

Dependencies

Used by

Graph

graph TD;
  sgnw-palette --> sgnw-button
  

sgnw-palette-symbol

The sgnw-palette-symbol component is used inside the sgnw-palette.

Basic Example

<sgnw-palette-symbol symbol="๑„ตก"></sgnw-palette-symbol>

Properties

Property Attribute Description Type Default
symbol symbol SWU character for symbol string undefined

Events

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; }>

Dependencies

Used by

Graph

graph TD;
  sgnw-palette --> sgnw-palette-symbol
  style sgnw-palette-symbol fill:#f9f,stroke:#333,stroke-width:4px

sgnw-palette

The sgnw-palette components allows for access to the symbols of the ISWA 2010.

Basic Example

<sgnw-palette orientation="horizontal" size="small"></sgnw-palette>

Properties

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"

Dependencies

Depends on

Graph

graph TD;
  sgnw-palette --> sgnw-button
  sgnw-palette --> sgnw-palette-symbol
  

sgnw-signbox

The sgnw-signbox component is currently a placeholder for future development. It currently listens for the paletteSymbolDrop event and console logs the results.

Basic Example

<sgnw-signbox></sgnw-signbox>