package js.jq;
/**
* ...
* @author axel@cunity.me
*/
extern class Accordion implements js.jquery.Plugin
{
public var panels:Array<js.html.HtmlElement>;
public var selector:String;
@:overload(function( op:String, ?field:String, ?val:Dynamic):js.jquery.JQuery{ })
public function accordion(?options:Dynamic):js.jquery.JQuery;
public function instance(?options:Dynamic):js.jquery.JQuery;
}
Compile fails after update with:
C:\Program Files (x86)\HaxeFoundation\haxe\lib\jQueryExtern/3,0,0/js/jquery/Config.hx:160: characters 36-41 : Should only overload a function
Added debug output reveals the macro doesn’t like the selector var but why?
Best,
Axel