Icons & Images

Icon

// Icon: 
model: {
    iconLabel: 123456,
    iconValue: 'print',          
}

schema: {
    // use label as icon name
    iconLabel: { 
        type:'icon', 
        large:true,
        label:'print', 
        color: 'blue', 
        tooltip: 'Icon Print'
    }, 
    // use value as icon name
    iconValue: { 
        type:'icon', 
        large:true,
        color: 'green', 
        tooltip: 'Icon Print'
    }
}

Image

// Image: 
schema: { 
    ctrl: { 
        type:'img', 
        src:'https://picsum.photos/id/11/500/300', 
        maxHeight:150,   
        maxWidth:250
        ...
    }, 
    ... 
}

Last updated