Updated principals
@@ -12,3 +12,8 @@ When creating the client side of a module there are some really important things
|
|||||||
- You do not need to specify <!DOCTYPE html>
|
- You do not need to specify <!DOCTYPE html>
|
||||||
- When using reference properties try to use api.onPropertyUpdate as much as possible. This way it also get's live updates from the editor. Try to avoid sending them from the server side as much as possible.
|
- When using reference properties try to use api.onPropertyUpdate as much as possible. This way it also get's live updates from the editor. Try to avoid sending them from the server side as much as possible.
|
||||||
- Use api.getTime() for any time calculations, this time is synced with the server.
|
- Use api.getTime() for any time calculations, this time is synced with the server.
|
||||||
|
- Module should not have a background since the are global backgrounds for each module.
|
||||||
|
- Module should not have any css filters applied to them since the are global filters for each module.
|
||||||
|
- Module should not have any css blending applied to them since the are global blending for each module.
|
||||||
|
- Module should not have any css borders applied to them since the are global borders for each module.
|
||||||
|
- Module should not have any css padding applied to them since the are global padding for each module.
|
||||||
|
|||||||
Reference in New Issue
Block a user