可能非常简单,但当我放弃droppable事件时,我想自动点击它
$('#calendar').fullCalendar({
droppable: true,
drop: function(date) {
//the command go here! this.click or something like that
}
});
请帮忙!
答案 0 :(得分:0)
试试这个:
button.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
SharedPreferences sharedPref = getSharedPreferences("COLOR", MODE_PRIVATE);
SharedPreferences.Editor editor = sharedPref.edit();
editor.putInt("color_KEY", ); //?? what code for this?
editor.commit();
}
});
}
@Override
public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
mScreen.setBackgroundColor(Color.rgb(red.getProgress(), green.getProgress(),blue.getProgress()));
}
@Override
public void onStartTrackingTouch(SeekBar seekBar) {
}
@Override
public void onStopTrackingTouch(SeekBar seekBar) {
}
}
https://jsfiddle.net/ewojadd3/
祝你好运