UNPKG

796 BSource Map (JSON)View Raw
1{"version":3,"file":"single-active.js","sourceRoot":"","sources":["../../../../src/interaction/action/element/single-active.ts"],"names":[],"mappings":";AAAA,OAAO,kBAAkB,MAAM,gBAAgB,CAAC;AAEhD;;;GAGG;AACH;IAAkC,uCAAkB;IAApD;QAAA,qEAQC;QAPW,eAAS,GAAW,QAAQ,CAAC;;IAOzC,CAAC;IANC;;OAEG;IACI,oCAAM,GAAb;QACE,IAAI,CAAC,QAAQ,EAAE,CAAC;IAClB,CAAC;IACH,0BAAC;AAAD,CAAC,AARD,CAAkC,kBAAkB,GAQnD;AAED,eAAe,mBAAmB,CAAC","sourcesContent":["import ElementSingleState from './single-state';\n\n/**\n * @ignore\n * 仅允许单个 Element Active 的 Action\n */\nclass ElementSingleActive extends ElementSingleState {\n protected stateName: string = 'active';\n /**\n * 当前事件相关的 Element Active\n */\n public active() {\n this.setState();\n }\n}\n\nexport default ElementSingleActive;\n"]}
\No newline at end of file