demo/bundle.js
// prop and event handler respectively.
prop and event handler respectively.
prop and event handler respectively .
function transformModel (options, data) {
              var prop = (options.model && options.model.prop) || 'value';
              var event = (options.model && options.model.event) || 'input';(data.props || (data.props = {}))[prop] = data.model.value;
              var on$$1 = data.on || (data.on = {});
              if (isDef(on$$1[event])) {
                on$$1[event] = [data.model.callback].concat(on$$1[event]);
              } else {
                on$$1[event] = data.model.callback;
              }
            }
function transformModel ( options , data ) { var prop = ( options . model && options . model . prop ) || 'value' ; var event = ( options . model && options . model . event ) || 'input' ; ( data . props || ( data . props = { } ) ) [ prop ] = data . model . value ; var on$$1 = data . on || ( data . on = { } ) ; if ( isDef ( on$$1 [ event ] ) ) { on$$1 [ event ] = [ data . model . callback ] . concat ( on$$1 [ event ] ) ; } else { on$$1 [ event ] = data . model . callback ; } }
prop and event handler respectively.
prop and event handler respectively .