picker components component label explanation

  label components: wrap form assembly, and the inside of the label in the form of an element, folded closely together, when the trigger element in the label, the form is equivalent to the trigger assembly

  Properties: for: value of type String id of the form

  

  picker components: a scroll selector, the bottom half of the page

  Attributes:

    mode: Type Type String Selector

      Property Value: selector common selector

          multiSelector multi-column selector

          time and time picker

          date date picker

          region provinces selector

    disabled: type Boolean whether to disable

    By type of mode, his property is not the same

      selector (individual lists, multi-column list) attributes:

        range: type array / object is an array, then if / when scrolling can be seen directly, if the object is, then, is rolling object, rang-key attributes required to

        range-key: the string object type subscript

        value: Type the first few numbers default options, index starts at 0;

      event:

        bindchange: When changing the trigger value

      time (timing) of properties:

        value: a string representation of the type of the selected time in the format "hh: mm"

        start: type string indicates the effective start time, the format of "hh: mm"

        end: type string indicating the end of the valid time range, the format of "hh: mm" 

      event:

        bindchange: When changing the trigger value

      date (date picker) properties:

        value: string format type for the selected date format (YYYY-MM-DD)

        start: type string indicating the start of the active date range

        end: type string indicates the end of the active date range

        fields: type indicates granularity selector

          Property Value: year of granularity selector

              month to month size selector

              day granularity selector days

      region (provinces selector) properties

        value: the type of array represents the selected provinces, the first default value for each column

        custom-item: type string Add the first option for the top of each column

      

             

  event:

    bindcancel: deselection trigger  

    

Guess you like

Origin www.cnblogs.com/shangjun6/p/10931960.html