添加 cl-svg 组件,支持 base64、本地文件、<svg 标签
This commit is contained in:
16
types/uni-app.d.ts
vendored
16
types/uni-app.d.ts
vendored
@@ -456,3 +456,19 @@ declare interface CanvasContext extends HTMLCanvasElement {
|
||||
declare type Image = HTMLImageElement;
|
||||
|
||||
declare type VueApp = any;
|
||||
|
||||
declare interface UniNativeViewElement extends UniElement {
|
||||
bindAndroidView(view: any): void;
|
||||
bindIOSView(): void;
|
||||
bindHarmonyFrameNode(node: FrameNode): void;
|
||||
bindHarmonyWrappedBuilder<O extends Object>(
|
||||
builder: WrappedBuilder<[options: O]>
|
||||
): BuilderNode<[O]>;
|
||||
getHarmonyFrameNode(): FrameNode | null;
|
||||
}
|
||||
|
||||
declare type UniNativeViewInitEvent = {
|
||||
detail: {
|
||||
element: UniNativeViewElement;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user