-
Notifications
You must be signed in to change notification settings - Fork 2
4.2 Build your own widgets
Lucas F. Lu edited this page Jan 30, 2020
·
3 revisions
In addition to all the stock widgets, you are free to build your own widgets, and the process of doing so is easy.
Simply implement the interface or extend the abstract class and build the necessary methods, you are good to go.
The remaining of this chapter will walk you through the steps to create your own widgets by either using an interface or abstract class.
Adding a widget is the same as adding other stock widgets by using
"$this->app->WidgetManager->addWidget"
within a service provider. Please refer to stock widget's documentations for details.
Feedback is much appreciated! I can be reached at [email protected]