UNPKG

@vuesax-alpha/nightly

Version:
22 lines (19 loc) 513 B
import { unref } from 'vue'; import '../dom/index.mjs'; import { unwrapElement } from './utils/unwrap-element.mjs'; import { arrow as arrow$1 } from '../dom/middleware.mjs'; function arrow(options) { return { name: "arrow", options, fn(args) { const element = unwrapElement(unref(options.element)); if (element == null) { return {}; } return arrow$1({ element, padding: options.padding }).fn(args); } }; } export { arrow }; //# sourceMappingURL=arrow.mjs.map