forked from Jimmy.Zheng/bi-custom-chart-demo
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
831 B
27 lines
831 B
package com.finebi.plugin.custom.component; |
|
|
|
import com.fr.web.struct.AssembleComponent; |
|
import com.fr.web.struct.Atom; |
|
import com.fr.web.struct.browser.RequestClient; |
|
import com.fr.web.struct.category.ParserType; |
|
import com.fr.web.struct.category.ScriptPath; |
|
import com.fr.web.struct.category.StylePath; |
|
|
|
public class CustomComponent extends AssembleComponent { |
|
public static final CustomComponent KEY = new CustomComponent(); |
|
|
|
@Override |
|
public Atom[] refer() { |
|
return new Atom[0]; |
|
} |
|
|
|
@Override |
|
public ScriptPath script(RequestClient req) { |
|
return ScriptPath.build("/com/finebi/plugin/custom/component/demo.js"); |
|
} |
|
|
|
@Override |
|
public StylePath style(RequestClient req) { |
|
return StylePath.build("/com/finebi/plugin/custom/component/demo.css", ParserType.DYNAMIC); |
|
} |
|
}
|
|
|