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
600 B
Markdown
32 lines
600 B
Markdown
---
|
|
title: removeStyleSheet
|
|
---
|
|
|
|
## Summary
|
|
|
|
Remove user-defined style sheet.
|
|
|
|
## Syntax
|
|
|
|
```c
|
|
keyman.util.removeStyleSheet(Pelem);
|
|
```
|
|
|
|
### Parameters
|
|
|
|
`Pelem`
|
|
: Type: `Element`
|
|
: Element representing the style sheet to be removed.
|
|
|
|
### Return Value
|
|
|
|
`boolean`
|
|
: `true` if the style sheet element was successfully removed, otherwise `false`.
|
|
|
|
## Description
|
|
|
|
If the element does not represent a style sheet, this function will not remove the element and will simply return `false`.
|
|
|
|
See also:
|
|
- [`keyman.util.addStyleSheet()`](addStyleSheet)
|
|
- [`keyman.util.linkStyleSheet()`](linkStyleSheet)
|