mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 16:35:33 +00:00
Note: build.sh updated to make sure that test:help build action:target doesn't also call test.sh by adding `:_all` meta-target. Note: CI will need a new help-keyman-com.sh build step to deploy web engine help. Fixes: #12347
32 lines
622 B
Markdown
32 lines
622 B
Markdown
---
|
|
title: addStyleSheet
|
|
---
|
|
|
|
## Summary
|
|
|
|
Generates a style sheet element for use in adding or overriding default On-Screen Keyboard styles.
|
|
|
|
## Syntax
|
|
|
|
```c
|
|
keyman.util.addStyleSheet(sheet)
|
|
```
|
|
|
|
### Parameters
|
|
|
|
`sheet`
|
|
: Type: `string`
|
|
: A string representing a CSS style sheet.
|
|
|
|
### Return Value
|
|
|
|
`Object`
|
|
: A page element representing the newly-embedded style sheet.
|
|
|
|
## Description
|
|
|
|
See our list of [standard OSK style names](../osk/classes) as a reference if implementing your own stylesheets.
|
|
|
|
See also:
|
|
- [`keyman.util.linkStyleSheet()`](linkStyleSheet)
|
|
- [`keyman.util.removeStyleSheet()`](removeStyleSheet)
|