Core ApiComponentsregisterDecoratorOn this pageregisterDecorator registerDecorator(name, dec): void Register a new decorator for use with the Surface component. Parameters name string Name to use when registering the decorator. dec Constructable<Decorator> Decorator function. Returns void