open-index/open-npm huggingface dataset:
npm package: @mls7788/capacitor-plugin-screen-orientation
Description: 手机应用横屏，手写签字
Author: mls
Latest version: 0.0.2

# @mls/capacitor-plugin-screen-orientation

手机应用横屏，手写签字

## Install

```bash
npm install @mls/capacitor-plugin-screen-orientation
npx cap sync
```

## API

<docgen-index>

* [`orientation()`](#orientation)
* [`lock(...)`](#lock)
* [`unlock()`](#unlock)
* [`addListener('screenOrientationChange', ...)`](#addlistenerscreenorientationchange)
* [`removeAllListeners()`](#removealllisteners)
* [Interfaces](#interfaces)

</docgen-index>

<docgen-api>
<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->

### orientation()

```typescript
orientation() => Promise<{ type: OrientationType; }>
```

返回当前横屏、竖屏类型。

**Returns:** <code>Promise&lt;{ type: any; }&gt;</code>

--------------------


### lock(...)

```typescript
lock(opts: { orientation: OrientationLockType; }) => Promise<void>
```

按照传入屏幕方向锁定。

| Param      | Type                               | Description |
| ---------- | ---------------------------------- | ----------- |
| **`opts`** | <code>{ orientation: any; }</code> | 屏幕方向类型。     |

--------------------


### unlock()

```typescript
unlock() => Promise<void>
```

取消当前屏幕锁定。

--------------------


### addListener('screenOrientationChange', ...)

```typescript
addListener(eventName: 'screenOrientationChange', listenerFunc: (orientation: { type: OrientationType; }) => void) => Promise<PluginListenerHandle> & PluginListenerHandle
```

监听屏幕方向改变。

| Param              | Type                                                  | Description |
| ------------------ | ----------------------------------------------------- | ----------- |
| **`eventName`**    | <code>'screenOrientationChange'</code>                | 事件名字        |
| **`listenerFunc`** | <code>(orientation: { type: any; }) =&gt; void</code> | 事件执行方法      |

**Returns:** <code>Promise&lt;<a href="#pluginlistenerhandle">PluginListenerHandle</a>&gt; & <a href="#pluginlistenerhandle">PluginListenerHandle</a></code>

--------------------


### removeAllListeners()

```typescript
removeAllListeners() => Promise<void>
```

移除所有事件监听。

--------------------


### Interfaces


#### PluginListenerHandle

| Prop         | Type                                      |
| ------------ | ----------------------------------------- |
| **`remove`** | <code>() =&gt; Promise&lt;void&gt;</code> |

</docgen-api>
npm package: @mlsjla/typography
Description: A Tailwind CSS plugin for automatically styling plain HTML content with beautiful typographic defaults.
Latest version: 0.5.7

<p>
  <a href="https://tailwindcss.com/docs/typography-plugin#gh-light-mode-only" target="_blank">
    <img src="./.github/logo-light.svg" alt="Tailwind CSS Typography" width="450" height="70">
  </a>
  <a href="https://tailwindcss.com/docs/typography-plugin#gh-dark-mode-only" target="_blank">
    <img src="./.github/logo-dark.svg" alt="Tailwind CSS Typography" width="450" height="70">
  </a>
</p>

A plugin that provides a set of `prose` classes you can use to add beautiful typographic defaults to any vanilla HTML you don't control, like HTML rendered from Markdown, or pulled from a CMS.

---

## Documentation

For full documentation, visit [tailwindcss.com/docs/typography-plugin](https://tailwindcss.com/docs/typography-plugin).

> 微信小程序需要使用 target: 'legacy'

## Community

For help, discussion about best practices, or any other conversation that would benefit from being searchable:

[Discuss the Tailwind CSS Typography plugin on GitHub](https://github.com/tailwindlabs/tailwindcss/discussions)

For casual chit-chat with others using the framework:

[Join the Tailwind CSS Discord Server](https://tailwindcss.com/discord)