Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-2675

Add an annotation for client command

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Major Major
    • 8.0.0
    • 8.0.0
    • Databind 2
    • None

      For example,

      @ToClientCommand({"doEventClicked", "doDayClicked"})
      public class DemoViewModel {
      
          @Command
          public void doEventClicked() {}
      
          @Command
          public void doDayClicked() {}
      }
      

      The both commands will be sent to client side for client binder to use

            jumperchen jumperchen
            jumperchen jumperchen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours, 1 minute
                5h 1m