index.uts 314 字节
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 offThemeChange = defineSyncApi<OffThemeChange>(
    'offThemeChange',
    (callback: OnThemeChangeCallback) => {
        _offThemeChange(callback)
    },
)