Skip to content
This repository was archived by the owner on Jan 4, 2021. It is now read-only.

Commit 9fdfab5

Browse files
author
Francois-Xavier Gentilhomme
committed
[DEV] documentation update & default style
1 parent 29af4ba commit 9fdfab5

File tree

97 files changed

+11095
-3892
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+11095
-3892
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
- New `unloaded` flag to control component state. `load` event will be trigger once the editor will be fully loaded.
66
- New **not mutable** `configuration` attribute. Changing the configuration will clear the underlying editor, all currents strokes and results will be lost. To do it, set `unloaded=true` after changing configuration, and wait for a `load` event.
77
- New **read-only** `editor` property that allow you to access to the underlying editor object (see [MyScriptJS documentation]() for more details).
8-
- New CSS variables to customize the web-component. See [demo/styling.html](demo/styling.html) as an example.
8+
- New CSS variables to customize the web-component. See [examples/styling.html](examples/styling.html) as an example.
99

1010
## Breaking changes
1111
- Complete rewrite of the underlying javascript library with ES6 syntax
@@ -19,7 +19,7 @@
1919
- `getAvailableLanguages()` have been replaced by a new web-component. You can use it to retrieve the list of available languages for your configuration.
2020

2121
## Bugs
22-
- User can no longer write when an unrecoverable error is detected forcing him to reload the page. See [demo/handle_error.html](demo/handle_error.html) to see how it works.
22+
- User can no longer write when an unrecoverable error is detected forcing him to reload the page. See [examples/handle_error.html](examples/handle_error.html) to see how it works.
2323

2424
For more details about attributes, look at the [documentation](docs/index.html).
2525

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,20 @@ myscript-text-web is a web component that can be used in every web application (
4444

4545
4. Use it!
4646

47-
[Test it live](https://myscript.github.io/myscript-text-web/components/myscript-text-web/demo/)!
47+
[Test it live](https://myscript.github.io/myscript-text-web/components/myscript-text-web/examples/)!
4848

4949
## Examples
5050

51-
- [demo/get_started.html](demo/get_started.html) Get started
52-
- [demo/v4_configuration.html](demo/v4_configuration.html) Use interactive ink api (v4)
53-
- [demo/handle_error.html](demo/handle_error.html) Handle error
54-
- [demo/styling.html](demo/styling.html) Customize your component style
55-
- [demo/programmatic_init.html](demo/programmatic_init.html) Programmatic initialization
56-
- [demo/get_stats.html](demo/get_stats.html) Get statistics
57-
- [demo/debug.html](demo/debug.html) Debug your component
58-
- [demo/get_languages.html](demo/get_languages.html) Get available languages
59-
- [demo/prediction_completion.html](demo/prediction_completion.html) Use prediction and completion
60-
- [demo/superimposed.html](demo/superimposed.html) Use superimposed input mode
51+
- [examples/get_started.html](examples/get_started.html) Get started
52+
- [examples/v4_configuration.html](examples/v4_configuration.html) Use interactive ink api (v4)
53+
- [examples/handle_error.html](examples/handle_error.html) Handle error
54+
- [examples/styling.html](examples/styling.html) Customize your component style
55+
- [examples/programmatic_init.html](examples/programmatic_init.html) Programmatic initialization
56+
- [examples/get_stats.html](examples/get_stats.html) Get statistics
57+
- [examples/debug.html](examples/debug.html) Debug your component
58+
- [examples/get_languages.html](examples/get_languages.html) Get available languages
59+
- [examples/prediction_completion.html](examples/prediction_completion.html) Use prediction and completion
60+
- [examples/superimposed.html](examples/superimposed.html) Use superimposed input mode
6161

6262
## Documentation
6363

0 commit comments

Comments
 (0)