You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
basic.js (v26.03.26) A lightweight JavaScript library for building web-based applications with simple code. No need to write HTML or CSS — just use basic JavaScript.
// Common methods and properties of basic objects.
classBasic_UIComponent{
/*
_type;
_containerBox;
_element;
_visible;
_displayType;
_opacity;
_rotate;
_backgroundColor;
_border;
_borderColor;
_round;
_fontSize;
_textColor;
_textAlign;
_motionString;
_clickable;
_eventFuncList;
NOTE: Browsers perform "render optimization." JavaScript collects many small changes you make to the DOM or style attributes while it's running, then applies these changes all at once. But be careful! If you force Reflow/Style (for example, by calling .offsetHeight), the browser will be forced to apply all the changes at once.
*/
constructor($type){
this._type=$type;
this._visible=1;
this._displayType="block";
this._opacity=1;
this._rotate=0;
this._padding=0;
this._motionString="none";
this._clickable=0;
this._eventFuncList=[];// for _addEventListener() - Otomatik temizleme