index.uts 318 字节
Newer Older
DCloud-yyl's avatar
DCloud-yyl 已提交
1 2 3 4 5 6 7 8 9
import { offThemeChange as _offThemeChange, OnThemeChangeCallback } from '@dcloudio/uni-runtime'
import {OffThemeChange} from './interface.uts'

export const offOSThemeChange = defineSyncApi<OffThemeChange>(
    'offOSThemeChange',
    (callback: OnThemeChangeCallback) => {
        _offThemeChange(callback)
    },
)