- I have this TS file that generate my buttons
- I want to make search button collapsable to show and hide some text in my html file
initContainerList(): void {
// @formatter:off
this.containerList = [
{
widgetType: this.widgetTypeEnum.crudTemplate,
config: {
pageTitle: 'act',
actions: [
{title: 'new' , onClick: () => this.changeView() , color: 'primary'},
{title: 'update' , onClick: () => this.load() , color: 'warn' },
{title: 'search' , onClick: null , color: 'accent' },
],
container: [this.getOffCanvasContainer(), this.getTableContainer()]
}
}
];
// @formatter:on
}