mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-16 05:39:24 +00:00
Deprecate the following obsolete functions and properties: * `keyman.helpURL` * `keyman.util.rgba` * `keyman.util.toFloat` * `keyman.util.toNumber` * `keyman.util.toNzString` Use correct language for code blocks in Keyman Engine for Web documentation. Test-bot: skip
32 lines
601 B
Markdown
32 lines
601 B
Markdown
---
|
|
title: removeStyleSheet
|
|
---
|
|
|
|
## Summary
|
|
|
|
Remove user-defined style sheet.
|
|
|
|
## Syntax
|
|
|
|
```js
|
|
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)
|