Pebble App Framework: Phone API
    Preparing search index...
    default: {
        initialize: (this: PluginPanelContext) => void;
        manipulator: {
            get: (this: PluginPanelContext) => string;
            set: (this: PluginPanelContext) => PluginPanelContext;
        };
        name: string;
        style: string;
        template: string;
    }

    Type Declaration

    • initialize: (this: PluginPanelContext) => void

      Fills the panel from its row: the title, the lines under it, and each kind with its plugins.

      A function expression, never shorthand method syntax. Clay serializes a registered component by writing key: followed by the function's own toString, and a shorthand method stringifies with its name attached, which stops the whole settings page parsing.

    • manipulator: {
          get: (this: PluginPanelContext) => string;
          set: (this: PluginPanelContext) => PluginPanelContext;
      }
    • name: string

      The component type name, matched by a Clay config item's own type: 'pluginPanel'.

    • style: string

      The CSS this component needs, scoped to its own class names.

    • template: string

      The markup this component renders for its config row. initialize fills it in.