MCPcopy Create free account
hub / github.com/ShareDropio/sharedrop / constructor

Method constructor

app/components/circular-progress.js:10–15  ·  view source on GitHub ↗
(owner, args)

Source from the content-addressed store, hash-verified

8
9export default class CircularProgress extends Component {
10 constructor(owner, args) {
11 super(owner, args);
12
13 const rgb = COLORS[args.color];
14 this.style = htmlSafe(`fill: rgba(${rgb}, .5)`);
15 }
16
17 get path() {
18 const π = Math.PI;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected