> For the complete documentation index, see [llms.txt](https://destplay.gitbook.io/pluginframework/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://destplay.gitbook.io/pluginframework/page.md).

# Page

Page - This is the Container that opens within the plugin. There can be components inside the Container. The page itself is just a module with a few functions.

### Blank page

The basic version of the page looks like this

```lua
local Setting = require(script.Parent.Parent.Setting);
local PluginComponents = require(script.Parent.Parent.libs.PluginComponents.PluginComponents);


local Page = {}


Page.Container = nil;
Page.Controller = nil;



Page.Init = function()

   
end


Page.Open = function()


end

return Page

```

## Methods

### .Init = function()

Called when the plug-in starts up. It is only called once.

### .Open = function()

Called up every time a page opens

## Properties

### Page.Container

This is the container of the current page.

{% embed url="<https://destplay.gitbook.io/plugin-components/components/container>" %}

Initially equal to nil:&#x20;

`Page.Container = nil;`

But after init you can refer to it as a normal container. For example&#x20;

`Page.Container.Frame.Visible = false;`

Or&#x20;

`Page.Container.Hide();`

### .Controller

After initialisation, this will be a reference to the controller. And you will be able to use its features.

But usually only the jump function between pages is used:

`Page.Controller.PageOpen("Example2" );`
