# Page

### 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" );`
