How To Change Cursor When Hover Or MouseOver On Surface In Famo.us

Changing the mouse cursor when you hover it over a Surface object in Famo.us is very easy. You do not have to explicitly turn on the mouseover and mouseout events of the Surface just to change cursors.

Simply specify it within the Surface property attribute when you create a new instance of it, like this:

That’s it! When you hover your mouse cursor on the Surface object, its cursor will change. It will also change the cursor back to default when your cursor moves out of the Surface area.

How To Hide A Surface in Famo.us

One might think the quickest and easiest way to hide a Surface object in Famo.us is to set its opacity to transparent.

While true, you will also have to set its other properties like text color and such which is a hassle. Okay, so if you do not find that a hassle, there is another problem.

All input events like mouse clicks will be absorbed by this surface. So if you intentionally wanted to hide the Surface because the you want the other Surface below it to receive events, it will not work.

What I did was to make use of the Modifier that was used to add the Surface to the View. It has a setOrigin method that you can take advantage of to move this Surface object away from the user’s screen.

Say, setOrigin(0.5, 0.5) moves the Surface object to the center of the screen. You can do setOrigin(-0.5, -0.5) to move it out of the user’s screen making the user think that you actually hid the Surface object when in fact, you just moved it.

To show the Surface object back, just set the values to non-negative. That’s it!

Technological Resources

Owning a business is a lot to take on, but for those who believe in a product or causes so strongly, it is well worth it to push on. Thankfully, there are some resources available that can help to make the process of looking after employees and keep a tight ship. Efficiency is everything. Technology should be utilized to maximize efficiency.

A time card machine is a great way to keep employee’s time. A time machine records an employee’s time. An employee places their finger on a plate. The machine reads the employee’s unique fingerprint to identify the employee. In this manner, employees cannot clock one another in. Since the machine stores all the information electronically, information about the times an employee clocked in, when they clocked out and when they were absent can be access virtually anywhere in real time.

A program manager can help assist with a great deal of tasks in an office. A program manager is a software designed to hold information related to meetings, promptings, emails, electronic files, scanned items and other information to help office members coordinate with one another. These software programs are particularly helpful in law firms where a lot of information needs to be electronically stored to keep up with each case. Client names, client information, important depositions, court depositions and other information is stored to keep on top of case workloads.

If a boss owns a few offices, it is well worth it to set up a network between all the office computers to share information and to check out where offices are on projects. Many businesses are also utilizing cloud-based systems to keep their information, which avoid the need for a network of computers. This information can be accessed from any computer or device with internet access. This can be particularly helpful while attending a meeting that’s away from the office.

With all the demands of the world and problems of the past, technology is helping businesses run more efficiently, be more productive and experience growth like no other time. If a business does not utilize the resources available, they will get passed up by other businesses because clients will go elsewhere.

Related Posts Plugin for WordPress, Blogger...