摘要: 一、拖拽事件相关的API介绍 想详细了解的请去MDN网站查看具体相关API 拖拽操作 - Web API | MDN 这边介绍比较重要的几个API: 1.首先是 draggabel (可拖拽),在 HTML 中,除了图像、链接和选择的文本默认的可拖拽行为之外,其他元素在默认情况下是不可拖拽的。要使其 阅读全文
posted @ 2025-02-16 22:13 imetal 阅读(25) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <script type="text/javascript"> //直接创建式 // var student = new Objec 阅读全文
posted @ 2021-06-04 15:13 imetal 阅读(89) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <h1 id ="date_time"></h1> <script type="text/javascript"> function 阅读全文
posted @ 2021-06-04 14:14 imetal 阅读(589) 评论(0) 推荐(0)
摘要: package db; import db.IRowMapper; import java.sql.*; public class DBUtill { public static void main(String[] args) { } public static void load() { try 阅读全文
posted @ 2021-05-27 16:18 imetal 阅读(49) 评论(0) 推荐(0)
摘要: HashSet实现自定义类的add()方法的原理 自定义一个类 public class Student { private String id; public Student(String id) { this.id = id; } } 测试类 public static class Test{ 阅读全文
posted @ 2021-05-12 21:48 imetal 阅读(128) 评论(0) 推荐(0)
摘要: Set接口的实现类HashSet的add()方法的底层实现 添加两个重复数据 实验代码 class Test{ public static void main(String[] args) { Set<String> set = new HashSet<>(); Scanner sc = new S 阅读全文
posted @ 2021-05-12 18:01 imetal 阅读(109) 评论(0) 推荐(0)
摘要: List实现类ArrayList底层实现contains()的原理 实验代码 List<String> names= new ArrayList<>(); names.add("Jimmy"); names.add("tommy"); System.out.println(names.contain 阅读全文
posted @ 2021-05-11 19:32 imetal 阅读(510) 评论(0) 推荐(0)
摘要: Linux指令的功能 1.指令a:cd [绝对路径(以/开头的路径,该路径从根目录开始定位) | 相对路径 功能:切换到指定目录 exp: 2.指令b: mkdir 功能:创建目录,默认只能创建一级目录,可以通过-p选项创建多级目录 3.指令:ls 功能:显示当前工作目录所包含的文件及其子目录 -a 阅读全文
posted @ 2021-03-31 21:36 imetal 阅读(96) 评论(0) 推荐(1)