State mode-Allows an object to automatically change its behavior when its internal state changes, and the object looks like it has changed its class. The specific structure diagram is as follows:真是名不虚传。The first scheme is to use the general coding method to realize the preloading technology of the picture. First, create the imgNode element, Then when the method myImage.setSrc is called, a preloaded picture is given to the picture first, and when the picture is loaded, the img element is assigned a value. The second scheme is implemented by using proxy mode. MyImage function is only responsible for creating img elements, proxy function ProxyImage is responsible for setting loading pictures for the picture, and when the picture is really loaded, myImage.setSrc method in myImage is called to set the path of the picture. The advantages and disadvantages between them are as follows:围绕着有两个孩子的单亲妈妈安秀妍与富家小开“秦松平”,两个贫富分化严重,背景相差甚远、情感经历迥异,身世坎坷离奇的故事情节,讲述了一个大有看头的高级的感情剧。THC SSL DoS严嵩倒台不要紧,严世藩要入京问罪。嗯,自己小心,及时送消息回来。