Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/doriantaylor/owl-stretchtext

A stretchtext vocabulary
https://github.com/doriantaylor/owl-stretchtext

Last synced: 24 days ago
JSON representation

A stretchtext vocabulary

Awesome Lists containing this project

README

        

Author
Dorian
Taylor

Created
August 23, 2023

Namespace URI
[`https://vocab.methodandstructure.com/stretchtext#`](https://vocab.methodandstructure.com/stretchtext#)

Preferred Namespace Prefix
`stv`

This document is an
attempt to define a reasonably robust and portable description of
stretchtext.
Stretchtext is a relatively little-used
hypermedia technique for managing levels of *detail*. Successive levels
of detail in a text can be recursively hidden under lower-detail text,
subject to user activation.

![Demonstration of now-defunct stretchtext site,
[`telescopictext.com`](https://web.archive.org/web/20080831005247/http://telescopictext.com/).](https://vocab.methodandstructure.com/telescopictext.gif)

## Classes

At this time, there is only the single class,
[`StretchText`](https://vocab.methodandstructure.com/stretchtext#StretchText).

### `StretchText`

This class represents an addressable unit of stretchtext.

Properties:
initial

replace-with

append

prepend

Back to Top

## Properties

### `initial`

This property denotes the initial value of a run of stretchtext.

Domain:
stv:StretchText

Cardinality:
1

Back to Top

### `replace-with`

When the subject stretchtext is activated, replace the initial value
with the object.

Domain:
stv:StretchText

Maximum Cardinality:
1

Back to Top

### `append`

When the subject stretchtext is activated, put the object *after* the
initial value (or its replacement).

Domain:
stv:StretchText

Back to Top

### `prepend`

When the subject stretchtext is activated, put the object *before* the
initial value (or its replacement).

Domain:
stv:StretchText

Back to Top