block.ts 285 B

123456789101112
  1. // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. import { createSection } from '@formkit/inputs'
  3. export const block = createSection('block', () => {
  4. return {
  5. $el: 'div',
  6. attrs: {
  7. onClick: "$handlers.bindEmit('block-click')",
  8. },
  9. }
  10. })