superset dom-to-image-more.d 源码

  • 2022-10-20
  • 浏览 (258)

superset dom-to-image-more.d 代码

文件路径:/superset-frontend/src/types/dom-to-image-more.d.ts

/**
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

declare module 'dom-to-image-more' {
  export interface Options {
    filter?: ((node: Node) => boolean) | undefined;
    bgcolor?: string | undefined;
    width?: number | undefined;
    height?: number | undefined;
    style?: {} | undefined;
    quality?: number | undefined;
    imagePlaceholder?: string | undefined;
    cacheBust?: boolean | undefined;
  }

  class DomToImageMore {
    static toJpeg(node: Node, options?: Options): Promise<string>;
  }

  export default DomToImageMore;
}

相关信息

superset 源码目录

相关文章

superset Chart 源码

superset ChartSource 源码

superset Dashboard 源码

superset DashboardContextForExplore 源码

superset Database 源码

superset Dataset 源码

superset Owner 源码

superset Role 源码

superset bootstrapTypes 源码

superset brace.d 源码

0  赞