UNPKG

@antv/attr

Version:

The Attribute module for G2, F2.

11 lines (9 loc) 241 B
import { AttributeCfg } from '../interface'; import Attribute from './base'; export default class Opacity extends Attribute { constructor(cfg: AttributeCfg) { super(cfg); this.type = 'opacity'; this.names = ['opacity']; } }