Skip to content
github-actions[bot] edited this page Aug 21, 2024 · 6 revisions

classjs docs

place where you can learn about all the stuff in classjs

localclass, new=require("classjs")("class", "new");
localExample=class"Example" {
constructor=function(self, name)
self.Name=name;
end,
Test=function(self)
returnstring.lower(self.Name) end,
Type=1
};
print(Example); -- [class Example]localpim=new"Example"("pim");
print(pim.Name); -- "pim"print(pim.Type); -- 1

classjs docs


Keywords

🛈 class

🛈 extend

🛈 new

Methods

🛈 isa()

🛈 getclass()

🛈 Prototype

🛈 new()

🛈 __isa()

🛈 __super()

🛈 __name

🛈 __instances

🛈 __prototype

🛈 __extendee

🛈 __class

🛈 PrototypeItem

🛈 new()

🛈 __value

🛈 __parent

🛈 __writable

🛈 __configurable

🛈 __enumerable

🛈 Object

🛈 defineProperties()

🛈 defineProperty()

🛈 entries()

🛈 getOwnPropertyDescriptor()

🛈 getOwnPropertyDescriptors()

🛈 keys()

🛈 values()


Clone this wiki locally